summaryrefslogtreecommitdiff
path: root/postrm-runit
AgeCommit message (Collapse)Author
2019-03-05Correctly create symlinks in /etc/service in post-inst on first revision of ↵Dmitry Bogatov
package, that introduced runscript. (Closes: #923233)
2018-05-27Do not re-enable serice on upgradeDmitry Bogatov
* 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
2018-04-14Invoke runit-helper only if it is availableDmitry Bogatov
2017-03-02Introduce new binary package 'runit-helper', allowing packages to access ↵Dmitry Bogatov
fixes and improvements in 'dh-runit' without rebuild.
2017-03-02Ensure that after package removal logs belong to root.Dmitry Bogatov
2016-08-14Clean-up supervision directory of log process too.Dmitry Bogatov
2016-08-14Actually fix typoDmitry Bogatov
2016-08-14Fix typo in mkdir option.Dmitry Bogatov
2016-07-28Fix postrm script. Previously, it halted purge with errors about missing ↵Dmitry Bogatov
supervise directory. Indeed, if service was never started, it's supervise directory is empty and removed by dpkg.
2016-06-12Fix lintian warningsDmitry Bogatov
* do not depend on perl-modules (why? lintian knows better) * postrm-runit, preinst-runit: make emacs choose correct shell without shebang
2016-06-09Improve handling of maintainer scriptsDmitry Bogatov
* 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'