ports/opt (3.1): fcron: show pid in status message
commit fc75c94360e2d14be3d7920ef97687034f519267 Author: Juergen Daubert <jue@jue.li> Date: Sat Jun 27 15:55:13 2015 +0200 fcron: show pid in status message diff --git a/fcron/.md5sum b/fcron/.md5sum index cd550a7..1d7aebc 100644 --- a/fcron/.md5sum +++ b/fcron/.md5sum @@ -1,3 +1,3 @@ -24abad262c8fc12608a87b72e838153a fcron +50b4de0f8bbbaccb87de9157e391a8e6 fcron 4b031c2fba32a98fa814d1557158b0e9 fcron-3.2.0.src.tar.gz 0153ce1b5ac57ab970abafbde26a9b62 systab.orig diff --git a/fcron/Pkgfile b/fcron/Pkgfile index be2de78..269c661 100644 --- a/fcron/Pkgfile +++ b/fcron/Pkgfile @@ -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) diff --git a/fcron/fcron b/fcron/fcron index 5c45259..ce6fccd 100644 --- a/fcron/fcron +++ b/fcron/fcron @@ -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" ;;
participants (1)
-
crux@crux.nu