Thanks for the replies, Guys.

Yes, running the updater script a few minutes after the pi has booted
DOES work!  My question now is how to incorporate this delay in the
files/script, perhaps by increasing "ExecStartPost=/bin/sleep 5"? I
assume "5" equals five seconds?

FYI, I get the following with "ExecStartPost=/bin/sleep 5" which did not
solve the problem:

pi@raspberrypi:~ $ sudo systemctl status ngrok:
* ngrok.service - ngrok autostart
Loaded: loaded (/etc/systemd/system/ngrok.service; enabled; vendor
preset: enabled)
Active: active (running) since Tue 2020-09-08 17:27:13 ADT; 3min 55s
ago
Process: 462 ExecStartPre=/bin/sleep 5 (code=exited,
status=0/SUCCESS)
Process: 571 ExecStartPost=/bin/sleep 5 (code=exited,
status=0/SUCCESS)
Process: 684 ExecStartPost=/usr/bin/python3 /home/pi/updater.py
(code=exited, status=0/S
Main PID: 570 (ngrok)
Tasks: 14 (limit: 4915)
CGroup: /system.slice/ngrok.service
`-570 /usr/local/bin/ngrok start
-config=/home/pi/.ngrok2/ngrok.yml mediaserver

Sep 08 17:26:59 raspberrypi systemd[1]: Starting ngrok autostart...
Sep 08 17:27:12 raspberrypi ngrok[684]: []
Sep 08 17:27:12 raspberrypi ngrok[684]: Fail 12 [No match between
current and update data
Sep 08 17:27:12 raspberrypi ngrok[684]: Finished
Sep 08 17:27:13 raspberrypi systemd[1]: Started ngrok autostart.


------------------------------------------------------------------------
raglencross's Profile: http://forums.slimdevices.com/member.php?userid=7239
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to