My attempts to use this <https://github.com/weewx/weewx/wiki/systemd> with 
python2 and python3 have resulted in:
Aug 27 06:47:14 weewx-01 weewx[1243]/INFO weewx.engine: Starting up weewx 
version 4.0.0a7
Aug 27 06:47:14 weewx-01 weewx[1243]/INFO weewx.engine: Starting main 
packet loop.
Aug 27 06:48:44 weewx-01 systemd[1]: weewx.service: State 'stop-sigterm' 
timed out. Killing.
Aug 27 06:48:44 weewx-01 systemd[1]: weewx.service: Killing process 1243 
(weewxd) with signal SIGKILL.
Aug 27 06:48:44 weewx-01 systemd[1]: weewx.service: Killing process 1244 
(rtl_433) with signal SIGKILL.
Aug 27 06:48:44 weewx-01 systemd[1]: weewx.service: Failed with result 
'timeout'.

My consultation with the oracle has it working with this, but more research 
is needed before the wiki is updated:
[Service]
ExecStart=/usr/bin/python3 /home/weewx/bin/weewxd   /home/weewx/weewx.conf
WorkingDirectory=/home/weewx
#ExecReload=/bin/kill -HUP $MAINPID
Type=simple
#PIDFile=/var/run/weewx.pid

 Andy

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/7ffe6a86-d9a9-45b0-8907-8e864c016550%40googlegroups.com.

Reply via email to