From aa6c4d03fbe9cf4352c516aabb4d2cb3583ef7aa Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Sun, 14 Aug 2016 09:05:20 +0300 Subject: Force shutdown of service we are uninstalling. Otherwise, it would be 5 seconds gap, when process are still alive. --- debian/changelog | 2 ++ prerm-runit | 1 + 2 files changed, 3 insertions(+) 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 format extensible. See dh_runit(1). * Introduce support for automatic generation of log scripts. * Fix typo in mkdir option. + * Force shutdown of service we are uninstalling. Otherwise, it would be + 5 seconds gap, when process are still alive. -- Dmitry Bogatov Sat, 13 Aug 2016 11:40:10 +0300 diff --git a/prerm-runit b/prerm-runit index 08aae6b..35496f2 100644 --- a/prerm-runit +++ b/prerm-runit @@ -1 +1,2 @@ +sv force-shutdown '#NAME#' rm -f '/etc/service/#NAME#' -- cgit v1.2.3