Refresh debian/patches/0004-fix-systemd-service.patch

This commit is contained in:
Laurent Bigonville 2013-11-24 16:23:35 +01:00
parent 74efce57eb
commit 3bac34e788
2 changed files with 6 additions and 5 deletions

3
debian/changelog vendored
View File

@ -1,9 +1,10 @@
nut (2.7.1-1) UNRELEASED; urgency=low nut (2.7.1-1) UNRELEASED; urgency=low
* New upstream release (Closes: #730183) * New upstream release (Closes: #730183)
- Refresh debian/patches/0004-fix-systemd-service.patch
* debian/rules, debian/control: Enable SSL support using libnss3 * debian/rules, debian/control: Enable SSL support using libnss3
-- Laurent Bigonville <bigon@debian.org> Sun, 24 Nov 2013 16:12:34 +0100 -- Laurent Bigonville <bigon@debian.org> Sun, 24 Nov 2013 16:23:21 +0100
nut (2.6.5-4) unstable; urgency=low nut (2.6.5-4) unstable; urgency=low

View File

@ -8,13 +8,13 @@ Forwarded: not-needed
[Unit] [Unit]
Description=Network UPS Tools - power device driver controller Description=Network UPS Tools - power device driver controller
-After=local-fs.target network.target -After=local-fs.target network.target
+After=local-fs.target network.target udev-settle.service systemd-udev-settle.service +After=local-fs.target network.target systemd-udev-settle.service
+Wants=udev-settle.service systemd-udev-settle.service +Wants=systemd-udev-settle.service
StopWhenUnneeded=yes StopWhenUnneeded=yes
[Service] [Service]
-ExecStart=@driverexecdir@/upsdrvctl start -ExecStart=@DRVPATH@/upsdrvctl start
-ExecStop=@driverexecdir@/upsdrvctl stop -ExecStop=@DRVPATH@/upsdrvctl stop
+ExecStart=@SBINDIR@/upsdrvctl start +ExecStart=@SBINDIR@/upsdrvctl start
+ExecStop=@SBINDIR@/upsdrvctl stop +ExecStop=@SBINDIR@/upsdrvctl stop
Type=forking Type=forking