View | Details | Raw Unified
Collapse All | Expand All

(-)nut-2.6.5/scripts/systemd/nut-driver.service.in (-2 / +3 lines)
 Lines 4-10    Link Here 
4
StopWhenUnneeded=yes
4
StopWhenUnneeded=yes
5
5
6
[Service]
6
[Service]
7
ExecStart=@driverexecdir@/upsdrvctl start
7
EnvironmentFile=/etc/sysconfig/upsd
8
ExecStartPre=/bin/cp -p $UPS_CONF ${CHROOTDIR}${UPS_CONF}
9
ExecStart=@driverexecdir@/upsdrvctl ${UPSDRV_OPTIONS} start
8
ExecStop=@driverexecdir@/upsdrvctl stop
10
ExecStop=@driverexecdir@/upsdrvctl stop
9
Type=forking
11
Type=forking
10
(-)nut-2.6.5/scripts/systemd/nut-server.service.in (-1 / +2 lines)
 Lines 5-11    Link Here 
5
Before=nut-monitor.service
5
Before=nut-monitor.service
6
6
7
[Service]
7
[Service]
8
ExecStart=@SBINDIR@/upsd -F
8
EnvironmentFile=/etc/sysconfig/upsd
9
ExecStart=@SBINDIR@/upsd -F ${UPSD_OPTIONS}
9
Type=simple
10
Type=simple
10
11
11
[Install]
12
[Install]