Patchwork [base,2/3] monit: fixup restart option in initscript

login
register
mail settings
Submitter Jacob Kjaergaard
Date Oct. 4, 2013, 7:57 a.m.
Message ID <1380873445-546-2-git-send-email-jabk@prevas.dk>
Download mbox | patch
Permalink /patch/280479/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

Jacob Kjaergaard - Oct. 4, 2013, 7:57 a.m.
From: Jacob Kjaergaard <jacob.kjaergaard@prevas.dk>

---
 recipes/monit/files/monit |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Esben Haabendal - Oct. 14, 2013, 2:30 p.m.
Merged to master, thanks.

/Esben

Patch

diff --git a/recipes/monit/files/monit b/recipes/monit/files/monit
index a18bc2e..d3f3574 100644
--- a/recipes/monit/files/monit
+++ b/recipes/monit/files/monit
@@ -9,7 +9,7 @@  test -x "$monit" || exit 0
 case "$1" in
   start)
     echo -n "Starting Monit"
-    start-stop-daemon --start --quiet --exec $monit -- $monit_args
+    start-stop-daemon --start --quiet --pidfile $pidfile --exec $monit -- $monit_args
     RETVAL=$?
     echo "."
     ;;