diff options
author | Dmitry Bogatov <KAction@gnu.org> | 2018-05-23 08:23:08 +0300 |
---|---|---|
committer | Dmitry Bogatov <KAction@gnu.org> | 2018-05-27 11:13:01 +0300 |
commit | c870dcaa53988f709b1152221e76992972365fb5 (patch) | |
tree | fc056e71e6208daeb60335d9f0d543674f34887e /debian | |
parent | 9376da82f5ae0b68c361c314b8af09ab56229671 (diff) |
Do not re-enable serice on upgrade
* Do not make symbolic link
/etc/runit/runsvdir/default/$name -> /etc/sv/$name
part of package files {in which case it will be unconditionally created
on upgrade}; instead manage it in maintainer scripts: create it in
postinst script on fresh install and remove on purge/remove in postrm.
* Force versioned dependency on runit-helper, to make sure that
versioned dependency on dh-runit would close #899242
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | debian/dh-runit.install | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 9a92168..578581d 100644 --- a/debian/changelog +++ b/debian/changelog | |||
@@ -1,3 +1,10 @@ | |||
1 | dh-runit (2.7.3) unstable; urgency=medium | ||
2 | |||
3 | * Do not re-enable serice on upgrade, if it was disable by local | ||
4 | administrator (See #899242) | ||
5 | |||
6 | -- Dmitry Bogatov <KAction@gnu.org> Wed, 23 May 2018 08:19:55 +0300 | ||
7 | |||
1 | dh-runit (2.7.2) unstable; urgency=medium | 8 | dh-runit (2.7.2) unstable; urgency=medium |
2 | 9 | ||
3 | * Invoke runit-helper only if it is available. It ensures, that in | 10 | * Invoke runit-helper only if it is available. It ensures, that in |
diff --git a/debian/dh-runit.install b/debian/dh-runit.install index 762f76a..e3f2d9d 100644 --- a/debian/dh-runit.install +++ b/debian/dh-runit.install | |||
@@ -1,3 +1,4 @@ | |||
1 | dh_runit /usr/bin | 1 | dh_runit /usr/bin |
2 | postrm-runit /usr/share/debhelper/autoscripts | 2 | postrm-runit /usr/share/debhelper/autoscripts |
3 | postinst-runit /usr/share/debhelper/autoscripts | ||
3 | runit.pm /usr/share/perl5/Debian/Debhelper/Sequence | 4 | runit.pm /usr/share/perl5/Debian/Debhelper/Sequence |