On Wednesday, June 21, 2017 at 12:09:36 AM UTC-6, 6502en...@gmail.com wrote:
> Thanks for the help!
>
> The PI is being powered by a 5V 1A transformer.
>
> It is connected via a USB to serial adapter to the serial port of a Apple
IIe.
The USB to serial are known to be sort of flaky... Saying that, the hardware
should be powered fine with that power source you have.
If you set it up as a service, it should restart automatically if you told it
to in the service file.
To find out if tcpser is still running after it craps out, at the bash type:
ps -ef | grep tcpser
If the resulting list displays that it is still running, then kill it by its
PID. Don't confuse the "grep tcpser" in the list as the tcpser command,
itself.
If it is not running, then I'd write a quick script that will perform that ps
command above and if tcpser does not exist, then start it. Put an entry in your
CRON to run that script every 5 minutes or quicker.
Still, the best practice would be to make a tcpser service and tell the service
to restart on termination.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|