Files
weewx/util/systemd/weewx.service
2020-01-20 15:56:28 -08:00

19 lines
391 B
Desktop File

# systemd configuration for weewx
[Unit]
Description=weewx weather system
Requires=time-sync.target
After=time-sync.target
RequiresMountsFor=/home
[Service]
ExecStart=/home/weewx/bin/weewxd --daemon --pidfile=/var/run/weewx.pid /home/weewx/weewx.conf
ExecReload=/bin/kill -HUP $MAINPID
Type=forking
PIDFile=/var/run/weewx.pid
#User=weewx
#Group=weewx
[Install]
WantedBy=multi-user.target