* prilagodbe za Wheezy
[monit-cn.git] / debian / postrm
index 61eaa07..7d4c112 100755 (executable)
@@ -41,10 +41,10 @@ chmod +x /etc/init.d/monit
 
 # kill monit
 echo "CN: Stopping monit service"
-pkill -9 -f /usr/sbin/monit || true
+pkill -9 -f /usr/bin/monit || true
 
 # reload init
-kill -SIGHUP 1
+telinit q
 
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.