summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@gnu.org>2016-08-14 09:05:20 +0300
committerDmitry Bogatov <KAction@gnu.org>2016-08-14 09:05:20 +0300
commitaa6c4d03fbe9cf4352c516aabb4d2cb3583ef7aa (patch)
treedaec6e6aca4a986b98951506e118b053049097ec
parent83e89fae1a8e2fcc8207df4f5ff42cb554b95396 (diff)
Force shutdown of service we are uninstalling. Otherwise, it would be 5 seconds gap, when process are still alive.
-rw-r--r--debian/changelog2
-rw-r--r--prerm-runit1
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index a98ed70..ecbeb9c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ dh-runit (1.5) UNRELEASED; urgency=medium
5 format extensible. See dh_runit(1). 5 format extensible. See dh_runit(1).
6 * Introduce support for automatic generation of log scripts. 6 * Introduce support for automatic generation of log scripts.
7 * Fix typo in mkdir option. 7 * Fix typo in mkdir option.
8 * Force shutdown of service we are uninstalling. Otherwise, it would be
9 5 seconds gap, when process are still alive.
8 10
9 -- Dmitry Bogatov <KAction@gnu.org> Sat, 13 Aug 2016 11:40:10 +0300 11 -- Dmitry Bogatov <KAction@gnu.org> Sat, 13 Aug 2016 11:40:10 +0300
10 12
diff --git a/prerm-runit b/prerm-runit
index 08aae6b..35496f2 100644
--- a/prerm-runit
+++ b/prerm-runit
@@ -1 +1,2 @@
1sv force-shutdown '#NAME#'
1rm -f '/etc/service/#NAME#' 2rm -f '/etc/service/#NAME#'