summarylogtreecommitdiffstats
path: root/apcupsd.service
blob: 614fec21d5570d6c716ec16a368250f7d888cc25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=APC UPS Power Control Daemon for Linux
After=syslog.target
After=network-online.target

[Service]
ExecStartPre=-/bin/rm -f /etc/apcupsd/powerfail
ExecStart=/sbin/apcupsd -b -f /etc/apcupsd/apcupsd.conf
KillMode=process

[Install]
WantedBy=multi-user.target