summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init-restart
AgeCommit message (Collapse)AuthorFilesLines
2018-09-03Make dh_install{init,systemd}'s autoscripts independent [c12]Niels Thykier1-1/+1
Have dh_installinit use the new --skip-systemd-native parameter and let dh_installsystemd always generate autoscript snippets for systemd services. This ensures that dh_installsystemd's snippet will be used for starting the services and will among other ensure that services are properly unmasked before started. Signed-off-by: Niels Thykier <niels@thykier.net>
2018-01-20autoscripts/postinst-*: Handle all current abort-* casesNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-11-06dh_installinit: Conditionally run the postint snippetsNiels Thykier1-7/+9
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-05-07dh_installinit: remove duplicate systemd-tmpfiles callMichael Stapelberg1-6/+0
This was left over in commit 469c74d0ac by mistake. The code is in autoscripts/postinst-init-tmpfiles and gets pulled in only when tmpfiles are actually present.
2013-03-20systemd: update check to look for /run/systemd/systemMichael Stapelberg1-1/+1
The old check (for /sys/fs/cgroup/systemd) is a false-positive on systems which use standalone logind, but not systemd. The new one is recommended and used by upstream systemd in their sd_booted() implementation, see http://cgit.freedesktop.org/systemd/systemd/tree/src/libsystemd-daemon/sd-daemon.c#n518
2012-10-28Support systemd in dh_installinit and postinst/postrmMichael Stapelberg1-0/+6
2012-10-28Revert "Support systemd in dh_installinit and postinst/postrm"Joey Hess1-6/+0
This reverts commit a0a7bb3433cba64677cf25c469d626552da9f356. New patch sent.
2012-10-15Support systemd in dh_installinit and postinst/postrmMichael Stapelberg1-0/+6
2011-01-25dh_installinit: never call init scripts directly, only through invoke-rc.dSteve Langasek1-5/+1
2008-05-08dh_installinit: Add --restart-after-upgrade, which avoids stopping a daemon ↵Joey Hess1-0/+13
in the prerm, and instead restarts it in the postinst, keeping its downtime minimal. Since some daemons could break if files are upgraded while they're running, it's not the default. It might become the default in a future (v8) compatability level. Closes: #471060