- koristenje telinit umjesto kill (hvala Ljubomiru)
[monit-cn.git] / debian / postinst
index c985739..25a4a2f 100755 (executable)
@@ -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.