nut/scripts/systemd/nut-server.service.in
2015-04-30 15:53:36 +02:00

15 lines
472 B
SYSTEMD

[Unit]
Description=Network UPS Tools - power devices information server
After=local-fs.target network.target nut-driver.service
# We don't Require drivers to be successfully started! This would be
# a change of behavior compared to init SysV, and could prevent from
# accessing successfully started, at least to audit a system.
#Requires=nut-driver.service
Before=nut-monitor.service
[Service]
ExecStart=@SBINDIR@/upsd
Type=forking
[Install]
WantedBy=multi-user.target