[SCM] mpd-sima/master: Add status command to init script.
kaliko-guest at users.alioth.debian.org
kaliko-guest at users.alioth.debian.org
Thu Feb 16 20:27:59 UTC 2012
The following commit has been merged in the master branch:
commit 26b26830034b64ed4bf40a359c744d6dd445053d
Author: Geoffroy Youri Berret <efrim at azylum.org>
Date: Thu Feb 16 18:33:26 2012 +0100
Add status command to init script.
Status command was mentioned in usage message but not implemented.
Git-Dch: Short
diff --git a/debian/mpd-sima.init b/debian/mpd-sima.init
index 29ef33c..6bf8557 100755
--- a/debian/mpd-sima.init
+++ b/debian/mpd-sima.init
@@ -113,6 +113,9 @@ case "$1" in
1) log_end_msg 1 ;;
esac
;;
+ status)
+ status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME"
+ ;;
restart|force-reload)
do_stop
case "$?" in
--
mpd-sima packaging
More information about the pkg-multimedia-commits
mailing list