TIP: Click on subject to list as thread! ANSI
echo: cbm
to: ALL
from: DROPNINE
date: 2017-04-06 17:43:00
subject: Re: Using tcpser on a Pi

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)

SOURCE: echomail via QWK@docsplace.org

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™.