diff --git a/cronie-service-stop.patch b/cronie-service-stop.patch new file mode 100644 index 0000000..fe91673 --- /dev/null +++ b/cronie-service-stop.patch @@ -0,0 +1,29 @@ +From 1a732d69938788dde2f1a8bf3ae1b9dc48d10c99 Mon Sep 17 00:00:00 2001 +From: HONDA Hirofumi +Date: Mon, 19 Oct 2009 12:25:15 +0200 +Subject: [PATCH] When parent crond is stopped and child crond (executing program) is running,"service crond status" reports "crond (pid XXX) is running...". +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Marcela Mašláňová +--- + cronie.init | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/cronie.init b/cronie.init +index 0d98159..446607e 100755 +--- a/cronie.init ++++ b/cronie.init +@@ -88,7 +88,7 @@ force_reload() { + + rh_status() { + # run checks to determine if the service is running or use generic status +- status $prog ++ status -p /var/run/crond.pid $prog + } + + rh_status_q() { +-- +1.6.5.rc2 +