nfs-utils: show pid in the status message of the various rc scripts
This commit is contained in:
parent
b777188f35
commit
3355cce9a8
@ -4,8 +4,8 @@ c5ccf58f5f9f57aba75c8b72219eb6e6 exports
|
||||
1e2f3c1ed468dee02d00c534c002ea10 nfs-utils-1.3.2.tar.bz2
|
||||
cdb5314516ef986b5283ee7dcc7d2278 nfsclient
|
||||
794de0e76b5532fa68ac3ad57bd78856 nfsserver
|
||||
c43297cce919319aeef70cfd25103850 rpc.idmapd
|
||||
4d37ba8d95cc2acd5a9e1bd942b8e89b rpc.mountd
|
||||
dfe1c59368b5846316ebcf3b32666c54 rpc.idmapd
|
||||
ae09bd1df5f97d36b551c067d0f9261a rpc.mountd
|
||||
abde0543c54fac9353cb22015fa7a898 rpc.nfsd
|
||||
9c70fa34927bd6d7723e0a36253e0a52 rpc.statd
|
||||
21d75587a1538b325bc9be0ecd9426a5 rpc.statd
|
||||
b4c745cd305c718157af2f24eef21525 statd_foreground_mode.patch
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
name=nfs-utils
|
||||
version=1.3.2
|
||||
release=3
|
||||
release=4
|
||||
source=(http://downloads.sourceforge.net/project/nfs/$name/$version/$name-$version.tar.bz2
|
||||
exports idmapd.conf
|
||||
nfs nfsclient nfsserver rpc.idmapd rpc.statd rpc.mountd rpc.nfsd
|
||||
|
@ -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" ;;
|
||||
|
@ -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" ;;
|
||||
|
@ -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…
Reference in New Issue
Block a user