nut-debian/scripts/systemd/nut-server.service.in

16 lines
468 B
SYSTEMD
Raw Normal View History

2011-09-29 21:14:46 +03:00
[Unit]
Description=Network UPS Tools - power devices information server
After=local-fs.target network.target nut-driver.service
2015-04-30 16:53:36 +03:00
# 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.
2016-07-18 03:11:41 +03:00
Wants=nut-driver.service
2011-09-29 21:14:46 +03:00
Before=nut-monitor.service
[Service]
2012-06-01 16:55:19 +03:00
ExecStart=@SBINDIR@/upsd
2011-09-29 21:14:46 +03:00
Type=forking
[Install]
WantedBy=multi-user.target