[Pkg-mpd-commits] [SCM] Git repository for pkg-mpd branch, master, updated. debian/0.16.1-1-15-g41660d7
Alexander Wirt
formorer at debian.org
Sun Feb 20 21:10:23 UTC 2011
The following commit has been merged in the master branch:
commit 4f65b4659c82b588940b2316ab22d4f9e51852d4
Author: Alexander Wirt <formorer at debian.org>
Date: Sun Feb 20 10:10:45 2011 +0100
Add init.d status support and add lsb-base to deps
Closes: #536296
Thanks: Peter Eisentraut
diff --git a/debian/control b/debian/control
index 919bf6f..c1e351d 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Vcs-Git: git://git.debian.org/pkg-mpd/pkg-mpd.git
Package: mpd
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, adduser
+Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, lsb-base (>= 3.2-13)
Suggests: mpd-client, icecast2, pulseaudio, avahi-daemon
Description: Music Player Daemon
Music Player Daemon (MPD) is a server that allows remote access for
diff --git a/debian/mpd.init.d b/debian/mpd.init.d
index 64b3085..7c397c5 100644
--- a/debian/mpd.init.d
+++ b/debian/mpd.init.d
@@ -105,6 +105,9 @@ case "$1" in
stop)
mpd_stop
;;
+ status)
+ status_of_proc -p $PIDFILE $DAEMON $NAME
+ ;;
restart|force-reload)
mpd_stop
mpd_start
--
Git repository for pkg-mpd
More information about the Pkg-mpd-commits
mailing list