cups-filters: show pid in the status message of the cups-browsed rc script
This commit is contained in:
parent
d59bbf78bb
commit
9088d177b4
@ -1,2 +1,2 @@
|
||||
6ac0b4af2a1c70293588faf12a11b652 cups-browsed
|
||||
7540a6989be0042429f41770b1cdf215 cups-browsed
|
||||
5afe1bca041c905ec8861d1a6ffbc634 cups-filters-1.0.70.tar.xz
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
name=cups-filters
|
||||
version=1.0.70
|
||||
release=1
|
||||
release=2
|
||||
source=(http://www.openprinting.org/download/$name/$name-$version.tar.xz
|
||||
cups-browsed)
|
||||
|
||||
|
@ -21,7 +21,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