From 24491b6c33556eae3c739d971e1eb9fac14bf7ec Mon Sep 17 00:00:00 2001 From: thib Date: Tue, 10 Jul 2001 14:50:09 +0000 Subject: [PATCH] added support for "stop" --- script/fcron.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/script/fcron.sh b/script/fcron.sh index 757a3c2..1f994a9 100755 --- a/script/fcron.sh +++ b/script/fcron.sh @@ -7,8 +7,11 @@ case "$1" in start) $SBIN/fcron -b && echo -n " fcron" ;; + stop) + killall -TERM fcron + ;; *) - echo "Usage: fcron start" + echo "Usage: fcron start|stop" exit 1 ;; esac \ No newline at end of file -- 2.40.0