nut-debian/scripts/systemd/nut-driver.service.in
2011-09-29 20:14:46 +02:00

11 lines
215 B
SYSTEMD

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