From: Peter Palfrader Date: Sun, 28 Feb 2010 20:19:09 +0000 (+0100) Subject: try sigint X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=8128af5c6ce1cfae7500bb4e87dc8ab94d617895;p=mirror%2Fdsa-puppet.git try sigint --- diff --git a/modules/raidmpt/manifests/init.pp b/modules/raidmpt/manifests/init.pp index 975f56886..26e4d84c4 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 --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"', refreshonly => true, ; }