[Pkg-voip-commits] r1964 - destar/trunk/debian

Alejandro Rios P. alerios-guest at costa.debian.org
Tue Jun 27 06:17:27 UTC 2006


Author: alerios-guest
Date: 2006-06-27 06:17:20 +0000 (Tue, 27 Jun 2006)
New Revision: 1964

Added:
   destar/trunk/debian/destar.init
Removed:
   destar/trunk/debian/init.d
Modified:
   destar/trunk/debian/changelog
Log:
* Renamed init.d to destar.init so dh_installinit can do the job.


Modified: destar/trunk/debian/changelog
===================================================================
--- destar/trunk/debian/changelog	2006-06-27 06:04:42 UTC (rev 1963)
+++ destar/trunk/debian/changelog	2006-06-27 06:17:20 UTC (rev 1964)
@@ -3,6 +3,7 @@
   * New upstream release. (Closes: #374718)
   * Added "Conflicts: freepbx" on control file.
   * Done items 1, 2, 4 and 5 of http://wiki.debian.org/DebianPython/NewPolicy
+  * Renamed init.d to destar.init so dh_installinit can do the job.
 
  -- Alejandro Rios P. <alejandro.rios at avatar.com.co>  Sun, 18 Jun 2006 11:36:48 -0500
 

Copied: destar/trunk/debian/destar.init (from rev 1957, destar/trunk/debian/init.d)

Deleted: destar/trunk/debian/init.d
===================================================================
--- destar/trunk/debian/init.d	2006-06-27 06:04:42 UTC (rev 1963)
+++ destar/trunk/debian/init.d	2006-06-27 06:17:20 UTC (rev 1964)
@@ -1,48 +0,0 @@
-#! /bin/sh
-# Starts and stops the Destar, Asterisk Web GUI
-
-
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/sbin/destar
-NAME=destar
-DESC="Asterisk Web GUI DeStar"
-PIDFILE=/var/run/$NAME/$NAME.pid
-DAEMON_OPTS="--daemonize --pid=$PIDFILE --port=8080"
-
-test -x $DAEMON || exit 0
-
-# Include destar defaults if available
-if [ -f /etc/default/destar ] ; then
-	. /etc/default/destar
-fi
-
-set -e
-
-case "$1" in
-  start)
-	echo -n "Starting $DESC: "
-	start-stop-daemon --start --quiet --pidfile $PIDFILE \
-		--chuid asterisk --exec $DAEMON -- $DAEMON_OPTS >/dev/null 
-	echo "$NAME."
-	;;
-  stop)
-	echo -n "Stopping $DESC: "
-	start-stop-daemon --stop --oknodo --quiet --pidfile $PIDFILE >/dev/null
-	echo "$NAME."
-	;;
-  restart|force-reload)
-	echo -n "Restarting $DESC: "
-	start-stop-daemon --stop --oknodo --quiet --pidfile $PIDFILE >/dev/null
-	sleep 1
-	start-stop-daemon --start --quiet --pidfile $PIDFILE \
-          	--chuid asterisk --exec $DAEMON -- $DAEMON_OPTS >/dev/null 
-	echo "$NAME."
-	;;
-  *)
-	N=/etc/init.d/$NAME
-	echo "Usage: $N {start|stop|restart|force-reload}" >&2
-	exit 1
-	;;
-esac
-
-exit 0




More information about the Pkg-voip-commits mailing list