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

View file

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