mirror of
https://github.com/weewx/weewx.git
synced 2026-04-20 09:37:02 -04:00
19 lines
391 B
Desktop File
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
|