From 6068367a961685c7242856586b88784943aced4c Mon Sep 17 00:00:00 2001 From: Robert Helmer Date: Wed, 21 Mar 2012 09:59:55 -0700 Subject: [PATCH] bug 729665 - killproc cares about position of args --- scripts/init.d/socorro-crashmover | 2 +- scripts/init.d/socorro-monitor | 2 +- scripts/init.d/socorro-processor | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/init.d/socorro-crashmover b/scripts/init.d/socorro-crashmover index 263c6e6260..7e18ca6f4d 100755 --- a/scripts/init.d/socorro-crashmover +++ b/scripts/init.d/socorro-crashmover @@ -42,7 +42,7 @@ start() { stop() { echo -n $"Stopping ${progname}: " - killproc -d 10 -p ${pidfile} ${python} + killproc -p ${pidfile} -d 10 ${python} RETVAL=$? echo } diff --git a/scripts/init.d/socorro-monitor b/scripts/init.d/socorro-monitor index 94448c153b..c26810e554 100755 --- a/scripts/init.d/socorro-monitor +++ b/scripts/init.d/socorro-monitor @@ -42,7 +42,7 @@ start() { stop() { echo -n $"Stopping ${progname}: " - killproc -d 10 -p ${pidfile} ${python} + killproc -p ${pidfile} -d 10 ${python} RETVAL=$? echo } diff --git a/scripts/init.d/socorro-processor b/scripts/init.d/socorro-processor index a1dd40e120..0725295eaf 100755 --- a/scripts/init.d/socorro-processor +++ b/scripts/init.d/socorro-processor @@ -42,7 +42,7 @@ start() { stop() { echo -n $"Stopping ${progname}: " - killproc -d 10 -p ${pidfile} ${python} + killproc -p ${pidfile} -d 10 ${python} RETVAL=$? echo }