From 1d9cc3ed9353b6eb7202ad68b7cd1f292a3579e6 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 28 Feb 2010 21:28:46 +0100 Subject: [PATCH] one accepts only TERM, the other only INT --- 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 ac5939827..e04cd2f49 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"; pkill -INT -P 1 -u 0 -f "/usr/bin/daemon /etc/init.d/mpt-statusd check_mpt"', + 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, ; } -- 2.20.1