masqmail: show pid in the status message of the rc script
This commit is contained in:
parent
621ff463b5
commit
b777188f35
@ -1,2 +1,2 @@
|
||||
af808bb35a4d7ed37dc895d5a13201b9 masqmail
|
||||
62727ca2b322af33fbf5fdf34f033a99 masqmail
|
||||
67bc223b0ae2e990a4255265f62cc1e4 masqmail-0.3.5.tar.gz
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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" ;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user