1
0
forked from ports/opt

fcron: show pid in status message

This commit is contained in:
Juergen Daubert 2015-06-27 15:55:13 +02:00
parent 8531f3789e
commit fc75c94360
3 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
24abad262c8fc12608a87b72e838153a fcron
50b4de0f8bbbaccb87de9157e391a8e6 fcron
4b031c2fba32a98fa814d1557158b0e9 fcron-3.2.0.src.tar.gz
0153ce1b5ac57ab970abafbde26a9b62 systab.orig

View File

@ -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)

View File

@ -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" ;;