From 8aa19211624637ac8c500702bf962b7d797d9834 Mon Sep 17 00:00:00 2001 From: Dinko Korunic Date: Wed, 11 May 2011 20:11:49 +0200 Subject: [PATCH] - koristenje telinit umjesto kill (hvala Ljubomiru) --- debian/changelog | 1 + debian/postinst | 2 +- debian/postrm | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index ce75485..2cc4ced 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ monit-cn (1:5.1.2) stable; urgency=low * napisana man stranica za update-monit.d(8) * migracija na novi oblik alerting pravila, but not on { instance } umjesto rucnog navodjenja svih pravila za alerting + * koristenje telinit umjesto kill -HUP 1 -- Dinko Korunic Wed, 27 Apr 2011 19:01:48 +0200 diff --git a/debian/postinst b/debian/postinst index c985739..25a4a2f 100755 --- a/debian/postinst +++ b/debian/postinst @@ -109,7 +109,7 @@ fi # reload init, since we have new configuration echo "CN: (Re)starting monit service, please check /var/log/daemon.log" pkill -9 -f '/usr/sbin/monit$' || true -kill -HUP 1 +telinit q # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. diff --git a/debian/postrm b/debian/postrm index 61eaa07..7bdffff 100755 --- a/debian/postrm +++ b/debian/postrm @@ -44,7 +44,7 @@ echo "CN: Stopping monit service" pkill -9 -f /usr/sbin/monit || true # reload init -kill -SIGHUP 1 +telinit q # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. -- 1.7.10.4