Package: irmp3

Version: 0.5.7pre2-1.1

Tags: patch

  As "/etc/init.d/irmp3 stop" was not stopping the daemon, I modified the 
init.d script. The diff is attached.





       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
--- debian/init.d.old	2007-09-09 17:55:21.000000000 -0300
+++ debian/init.d	2007-09-09 18:08:32.000000000 -0300
@@ -18,24 +18,24 @@
 case "$1" in
   start)
 	echo -n "Starting $DESC: "
-	start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
+	start-stop-daemon --start --quiet \
 		--exec $DAEMON -- $DAEMON_OPTS
 	echo "$NAME."
 	;;
   stop)
 	echo -n "Stopping $DESC: "
-	start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
+	start-stop-daemon --stop --quiet \
 		--exec $DAEMON
 	echo "$NAME."
 	;;
 
   restart|force-reload)
 	echo -n "Restarting $DESC: "
-	start-stop-daemon --stop --quiet --pidfile \
-		/var/run/$NAME.pid --exec $DAEMON
+	start-stop-daemon --stop --quiet \
+		--exec $DAEMON
 	sleep 1
-	start-stop-daemon --start --quiet --pidfile \
-		/var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
+	start-stop-daemon --start --quiet \
+		--exec $DAEMON -- $DAEMON_OPTS
 	echo "$NAME."
 	;;
   *)

Reply via email to