- koristenje telinit umjesto kill (hvala Ljubomiru)
[monit-cn.git] / debian / postrm
index 61eaa07..7bdffff 100755 (executable)
@@ -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.