masqmail: show pid in the status message of the rc script

This commit is contained in:
Juergen Daubert 2015-06-29 17:08:38 +02:00
parent 621ff463b5
commit b777188f35
3 changed files with 3 additions and 3 deletions

View File

@ -1,2 +1,2 @@
af808bb35a4d7ed37dc895d5a13201b9 masqmail
62727ca2b322af33fbf5fdf34f033a99 masqmail
67bc223b0ae2e990a4255265f62cc1e4 masqmail-0.3.5.tar.gz

View File

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

View File

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