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