summarylogtreecommitdiffstats
path: root/weewx.service
blob: 5a1845aafbff9b9db3067558418fdfc53b6389d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# systemd configuration for weewx

[Unit]
Description=weewx weather system
Requires=time-sync.target
After=time-sync.target
RequiresMountsFor=/etc /var/lib

[Service]
ExecStart=/usr/bin/weewxd --daemon --pidfile=/run/weewx.pid /etc/weewx/weewx.conf
ExecReload=/bin/kill -HUP $MAINPID
Type=forking
PIDFile=/run/weewx.pid
#User=weewx
#Group=weewx

[Install]
WantedBy=multi-user.target