summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@gnu.org>2016-06-09 18:50:22 +0300
committerDmitry Bogatov <KAction@gnu.org>2016-06-09 18:50:22 +0300
commitfc35408ab60287a4e978ba93e61c2ded44342e7d (patch)
tree2d96b90cc3a03e1daeefb9d540046c6ae5efb634 /debian
parent9002e984d29480a3287506c73d82f247b0dbacea (diff)
Improve handling of maintainer scripts
* checking for /etc/service symlink is moved into preinst * runscripts are enabled in postinst * runscripts are disables in prerm * supervise directory is purged on 'postrm purge'
Diffstat (limited to 'debian')
-rw-r--r--debian/dh-runit.install2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/dh-runit.install b/debian/dh-runit.install
index faa7e8b..5b296b5 100644
--- a/debian/dh-runit.install
+++ b/debian/dh-runit.install
@@ -1,4 +1,6 @@
1dh_runit /usr/bin 1dh_runit /usr/bin
2preinst-runit /usr/share/debhelper/autoscripts
2postinst-runit /usr/share/debhelper/autoscripts 3postinst-runit /usr/share/debhelper/autoscripts
3prerm-runit /usr/share/debhelper/autoscripts 4prerm-runit /usr/share/debhelper/autoscripts
5postrm-runit /usr/share/debhelper/autoscripts
4runit.pm /usr/share/perl5/Debian/Debhelper/Sequence 6runit.pm /usr/share/perl5/Debian/Debhelper/Sequence