A big try/except around nodeinfo
[mirror/dsa-puppet.git] / modules / raidmpt / manifests / init.pp
index 975f568..814fd5b 100644 (file)
@@ -11,11 +11,11 @@ class raidmpt {
     }
     exec {
         "mpt-statusd-stop":
-            command => 'pidfile=/var/run/mpt-statusd.pid; ! [ -e "$pidfile" ] || /sbin/start-stop-daemon --oknodo --stop --quiet --pidfile "$pidfile"; rm -f "$pidfile"',
+            command => 'pidfile=/var/run/mpt-statusd.pid; ! [ -e "$pidfile" ] || /sbin/start-stop-daemon --oknodo --stop --signal TERM --quiet --pidfile "$pidfile"; rm -f "$pidfile";  pkill -INT  -P 1 -u 0 -f "/usr/bin/daemon /etc/init.d/mpt-statusd check_mpt"',
             refreshonly => true,
             ;
     }
 }
 # vim:set et:
-# vim:set ts=4:
+# vim:set sts=4 ts=4:
 # vim:set shiftwidth=4: