/lib/systemd/system/apcupsd.service is in apcupsd 3.14.14-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | [Unit]
# network-online is really needed, otherwise there are problems with snmp
# -> 865620
After=network-online.target
Description=UPS power management daemon
Documentation=man:apcupsd(8)
[Service]
ExecStartPre=/lib/apcupsd/prestart
ExecStart=/sbin/apcupsd
Type=forking
KillMode=process
PIDFile=/var/run/apcupsd.pid
[Install]
WantedBy=multi-user.target
|