[Pkg-mpd-commits] [SCM] Git repository for pkg-mpd branch, master, updated. debian/0.16.1-1-19-g2e9c104

Alexander Wirt formorer at debian.org
Thu Mar 17 13:38:31 UTC 2011


The following commit has been merged in the master branch:
commit ecfff53e15eaa49bc780ccffd7db751b1a7c6902
Author: Alexander Wirt <formorer at debian.org>
Date:   Sun Feb 27 11:03:38 2011 +0100

    Implement force-reload in initscript
    
    Closes: #515623

diff --git a/debian/mpd.init.d b/debian/mpd.init.d
index 7c397c5..842cc4a 100644
--- a/debian/mpd.init.d
+++ b/debian/mpd.init.d
@@ -121,8 +121,13 @@ case "$1" in
         mpd_stop
         mpd_start
         ;;
+    force-reload)
+    	FORCE_CREATE_DB=1
+	mpd_stop
+	mpd_start
+	;;
     *)
-        echo "Usage: $0 {start|start-create-db|stop|restart}"
+        echo "Usage: $0 {start|start-create-db|stop|restart|force-reload}"
         exit 2
         ;;
 esac

-- 
Git repository for pkg-mpd



More information about the Pkg-mpd-commits mailing list