* prilagodbe za Wheezy
[monit-cn.git] / debian / postrm
index 541b7c1..7d4c112 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# postrm script for bind9-cn
+# postrm script for monit-cn
 #
 # see: dh_installdeb(1)
 
@@ -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 -HUP 1
+telinit q
 
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.