From: Peter Palfrader Date: Sun, 28 Feb 2010 20:28:46 +0000 (+0100) Subject: one accepts only TERM, the other only INT X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=1d9cc3ed9353b6eb7202ad68b7cd1f292a3579e6;p=mirror%2Fdsa-puppet.git one accepts only TERM, the other only INT --- 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, ; }