debian/apcupsd.service
raw| 1 | [Unit] |
| 2 | # network-online is really needed, otherwise there are problems with snmp |
| 3 | # -> 865620 |
| 4 | After=network-online.target |
| 5 | Description=UPS power management daemon |
| 6 | Documentation=man:apcupsd(8) |
| 7 | |
| 8 | [Service] |
| 9 | ExecStartPre=/usr/lib/apcupsd/prestart |
| 10 | ExecStart=/usr/sbin/apcupsd |
| 11 | Type=forking |
| 12 | KillMode=process |
| 13 | PIDFile=/var/run/apcupsd.pid |
| 14 | |
| 15 | [Install] |
| 16 | WantedBy=multi-user.target |