nut-debian/scripts/systemd/nut-driver.service.in
2014-04-22 20:39:47 +02:00

11 lines
223 B
SYSTEMD

[Unit]
Description=Network UPS Tools - power device driver controller
After=local-fs.target network.target
StopWhenUnneeded=yes
[Service]
ExecStart=@SBINDIR@/upsdrvctl start
ExecStop=@SBINDIR@/upsdrvctl stop
Type=forking