debian/patches/0004-fix-systemd-service.patch: Also add Wants/Before for systemd-udev-settle.service in the nut-driver.service as it got renamed after udev merge

This commit is contained in:
Laurent Bigonville 2013-07-10 22:13:44 +02:00
parent 38742dde53
commit fd9b4809ec
2 changed files with 6 additions and 3 deletions

5
debian/changelog vendored
View file

@ -16,13 +16,16 @@ nut (2.6.5-3) UNRELEASED; urgency=low
#708813) #708813)
* debian/rules: Drop manual creation of .service files symlink, this should * debian/rules: Drop manual creation of .service files symlink, this should
be handled by dh_systemd now be handled by dh_systemd now
* debian/patches/0004-fix-systemd-service.patch: Also add Wants/Before for
systemd-udev-settle.service in the nut-driver.service as it got renamed
after udev merge
[ Ivo De Decker ] [ Ivo De Decker ]
* debian/nut-client.preinst: also revert /etc/nut/nut.conf mangling done * debian/nut-client.preinst: also revert /etc/nut/nut.conf mangling done
by postinst during upgrade from lenny to squeeze (Really closes: #677054) by postinst during upgrade from lenny to squeeze (Really closes: #677054)
Thanks to Andreas Beckmann for the review. Thanks to Andreas Beckmann for the review.
-- Laurent Bigonville <bigon@debian.org> Sat, 06 Jul 2013 16:25:00 +0200 -- Laurent Bigonville <bigon@debian.org> Wed, 10 Jul 2013 22:12:22 +0200
nut (2.6.5-2) experimental; urgency=low nut (2.6.5-2) experimental; urgency=low

View file

@ -8,8 +8,8 @@ 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 +After=local-fs.target network.target udev-settle.service systemd-udev-settle.service
+Wants=udev-settle.service +Wants=udev-settle.service systemd-udev-settle.service
StopWhenUnneeded=yes StopWhenUnneeded=yes
[Service] [Service]