debian/rules: Drop static ordering for the initscripts and pass --restart-after-upgrade option to dh_installinit and dh_systemd_start to minimize the downtime of the daemons
This commit is contained in:
parent
c68443d795
commit
bbd9f7852b
2 changed files with 8 additions and 3 deletions
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -16,8 +16,11 @@ nut (2.7.1-1) UNRELEASED; urgency=low
|
||||||
/etc/killpower
|
/etc/killpower
|
||||||
* debian/nut-client.lintian-overrides: Add override for
|
* debian/nut-client.lintian-overrides: Add override for
|
||||||
systemd-no-service-for-init-script ups-monitor
|
systemd-no-service-for-init-script ups-monitor
|
||||||
|
* debian/rules: Drop static ordering for the initscripts and pass
|
||||||
|
--restart-after-upgrade option to dh_installinit and dh_systemd_start to
|
||||||
|
minimize the downtime of the daemons
|
||||||
|
|
||||||
-- Laurent Bigonville <bigon@debian.org> Sun, 24 Nov 2013 19:41:22 +0100
|
-- Laurent Bigonville <bigon@debian.org> Sun, 24 Nov 2013 20:06:43 +0100
|
||||||
|
|
||||||
nut (2.6.5-4) unstable; urgency=low
|
nut (2.6.5-4) unstable; urgency=low
|
||||||
|
|
||||||
|
|
6
debian/rules
vendored
6
debian/rules
vendored
|
@ -102,8 +102,10 @@ common-install-indep::
|
||||||
binary-install/nut-monitor::
|
binary-install/nut-monitor::
|
||||||
dh_python2 -pnut-monitor
|
dh_python2 -pnut-monitor
|
||||||
|
|
||||||
DEB_DH_INSTALLINIT_ARGS_nut-server := --init-script=nut-server -- start 50 2 3 4 5 . stop 51 0 1 6 .
|
DEB_DH_INSTALLINIT_ARGS_nut-server := --init-script=nut-server --restart-after-upgrade
|
||||||
DEB_DH_INSTALLINIT_ARGS_nut-client := --init-script=nut-client -- start 51 2 3 4 5 . stop 50 0 1 6 .
|
DEB_DH_INSTALLINIT_ARGS_nut-client := --init-script=nut-client --restart-after-upgrade
|
||||||
|
DEB_DH_SYSTEMD_START_ARGS_nut-server := --restart-after-upgrade
|
||||||
|
DEB_DH_SYSTEMD_START_ARGS_nut-client := --restart-after-upgrade
|
||||||
DEB_DH_COMPRESS_ARGS_nut-doc := -X.pdf
|
DEB_DH_COMPRESS_ARGS_nut-doc := -X.pdf
|
||||||
|
|
||||||
ifeq (linux,$(DEB_HOST_ARCH_OS))
|
ifeq (linux,$(DEB_HOST_ARCH_OS))
|
||||||
|
|
Loading…
Reference in a new issue