[Pkg-voip-commits] r2366 - op-panel/trunk/debian
Alejandro Rios P.
alerios-guest at costa.debian.org
Sun Sep 10 21:00:57 UTC 2006
Author: alerios-guest
Date: 2006-09-10 21:00:55 +0000 (Sun, 10 Sep 2006)
New Revision: 2366
Modified:
op-panel/trunk/debian/op-panel.init
Log:
* Fixed init file so i won't break on Upgrading, purging, etc. (Closes: bug#386638)
Modified: op-panel/trunk/debian/op-panel.init
===================================================================
--- op-panel/trunk/debian/op-panel.init 2006-09-10 20:58:34 UTC (rev 2365)
+++ op-panel/trunk/debian/op-panel.init 2006-09-10 21:00:55 UTC (rev 2366)
@@ -33,7 +33,7 @@
case "$1" in
start)
echo -n "Starting $DESC: $NAME"
- start-stop-daemon --start --pidfile $PIDFILE --startas $DAEMON -- $OPTIONS
+ start-stop-daemon --chuid $NAME --start --oknodo --pidfile $PIDFILE --startas $DAEMON -- $OPTIONS
echo "."
;;
stop)
@@ -48,9 +48,9 @@
# just the same as "restart".
#
echo -n "Restarting $DESC: $NAME"
- start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --startas $DAEMON
+ start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE
sleep 1
- start-stop-daemon --start --quiet --pidfile $PIDFILE --startas $DAEMON -- $OPTIONS
+ start-stop-daemon --chuid $NAME --start --quiet --pidfile $PIDFILE --startas $DAEMON -- $OPTIONS
echo "."
;;
*)
More information about the Pkg-voip-commits
mailing list