TIP: Click on subject to list as thread! ANSI
echo: cbm
to: All
from: Dropnine
date: 2017-04-06 17:43:34
subject: Re: Using tcpser on a Pi for telnet gateway to C64?

On Thursday, March 30, 2017 at 12:48:34 PM UTC-6, Dropnine wrote:

I was asked to correct a part that will stop you from automating tcpser on
boot.  The error is in the type portion of the serialBridge.service text
file.

It should be Type=forking.  If it's anything else, LINUX will end the
thread because it considers the script to have run and maintain its own
PID.

Sorry for the error.  The serialBridge.service file should look like below.

Edit your original or just type "rm
/lib/systemd/systemserialBridge.service" to remove the old file and
remake it by doing the following:

type: sudo vi /lib/systemd/system/serialBridge.service 
type: i

Copy and paste everything between the # mark lines into the editor (or type
it in if you are a better typer than myself):

####################
[Unit]
Description=Serial to TCP-IP Bridge
After=Multi-User.target

[Install]
WantedBy=Multi-user.target

[Service]
ExecStart=/home/pi/serialBridge
Type=forking
#####################


.... Cheers

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
SEEN-BY: 57/0 116/102 130/505 512 153/250 317/2 393/68 633/267 280 640/384
SEEN-BY: 712/620 848 770/0 1 3 100 340 772/0 1 210 500
@PATH: 770/3 1 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.