ports/opt (3.1): masqmail: show pid in the status message of the rc script
commit b777188f35d7c31da232af6b22b6dd70d95df6c0 Author: Juergen Daubert <jue@jue.li> Date: Mon Jun 29 17:08:38 2015 +0200 masqmail: show pid in the status message of the rc script diff --git a/masqmail/.md5sum b/masqmail/.md5sum index efd767c..c25fb27 100644 --- a/masqmail/.md5sum +++ b/masqmail/.md5sum @@ -1,2 +1,2 @@ -af808bb35a4d7ed37dc895d5a13201b9 masqmail +62727ca2b322af33fbf5fdf34f033a99 masqmail 67bc223b0ae2e990a4255265f62cc1e4 masqmail-0.3.5.tar.gz diff --git a/masqmail/Pkgfile b/masqmail/Pkgfile index d9d3bf1..f4c5b99 100644 --- a/masqmail/Pkgfile +++ b/masqmail/Pkgfile @@ -5,7 +5,7 @@ name=masqmail version=0.3.5 -release=2 +release=3 source=(http://marmaro.de/prog/masqmail/files/$name-$version.tar.gz masqmail) diff --git a/masqmail/masqmail b/masqmail/masqmail index af5262e..31d62e6 100644 --- a/masqmail/masqmail +++ b/masqmail/masqmail @@ -22,7 +22,7 @@ restart) 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