fcron: show pid in status message
This commit is contained in:
parent
8531f3789e
commit
fc75c94360
@ -1,3 +1,3 @@
|
||||
24abad262c8fc12608a87b72e838153a fcron
|
||||
50b4de0f8bbbaccb87de9157e391a8e6 fcron
|
||||
4b031c2fba32a98fa814d1557158b0e9 fcron-3.2.0.src.tar.gz
|
||||
0153ce1b5ac57ab970abafbde26a9b62 systab.orig
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
name=fcron
|
||||
version=3.2.0
|
||||
release=2
|
||||
release=3
|
||||
source=(http://fcron.free.fr/archives/$name-$version.src.tar.gz
|
||||
fcron systab.orig)
|
||||
|
||||
|
@ -28,7 +28,7 @@ reload)
|
||||
status)
|
||||
$SSD --status --pidfile $PID
|
||||
case $? in
|
||||
0) echo "$PROG is running" ;;
|
||||
0) echo "$PROG is running with pid $(cat $PID)" ;;
|
||||
1) echo "$PROG is not running but the pid file $PID exists" ;;
|
||||
3) echo "$PROG is not running" ;;
|
||||
4) echo "Unable to determine the program status" ;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user