From c6e9bc9d1b1aa646af114fd615f42c0bcffffa06 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 28 Feb 2010 21:26:00 +0100 Subject: [PATCH] kill the daemon watcher for mpt-statusd as well --- modules/raidmpt/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ; } -- 2.20.1