From: Peter Palfrader Date: Sun, 28 Feb 2010 20:26:00 +0000 (+0100) Subject: kill the daemon watcher for mpt-statusd as well X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=c6e9bc9d1b1aa646af114fd615f42c0bcffffa06;p=mirror%2Fdsa-puppet.git kill the daemon watcher for mpt-statusd as well --- diff --git a/modules/raidmpt/manifests/init.pp b/modules/raidmpt/manifests/init.pp index 26e4d84c4..ac5939827 100644 --- a/modules/raidmpt/manifests/init.pp +++ b/modules/raidmpt/manifests/init.pp @@ -11,7 +11,7 @@ class raidmpt { } exec { "mpt-statusd-stop": - command => 'pidfile=/var/run/mpt-statusd.pid; ! [ -e "$pidfile" ] || /sbin/start-stop-daemon --oknodo --stop --signal INT --quiet --pidfile "$pidfile"; rm -f "$pidfile"', + command => 'pidfile=/var/run/mpt-statusd.pid; ! [ -e "$pidfile" ] || /sbin/start-stop-daemon --oknodo --stop --signal INT --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, ; }