home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.cbm      Discussion about Commodore micros      53,866 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 51,916 of 53,866   
   Dropnine to All   
   Re: Using tcpser on a Pi for telnet gate   
   06 Apr 17 17:43:35   
   
   From: carl.reilly@gmail.com   
      
   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: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca