[Pkg-voip-commits] r2661 - op-panel/trunk/debian

Alejandro Rios P. alerios-guest at alioth.debian.org
Sun Oct 29 02:35:32 CET 2006


Author: alerios-guest
Date: 2006-10-29 02:35:32 +0100 (Sun, 29 Oct 2006)
New Revision: 2661

Modified:
   op-panel/trunk/debian/changelog
   op-panel/trunk/debian/copyright
   op-panel/trunk/debian/op-panel.init
Log:
* Allow restarting for processes on asterisk group (say daestar, freepbx, etc.).
* Copyright file set to UTF-8



Modified: op-panel/trunk/debian/changelog
===================================================================
--- op-panel/trunk/debian/changelog	2006-10-29 01:09:16 UTC (rev 2660)
+++ op-panel/trunk/debian/changelog	2006-10-29 01:35:32 UTC (rev 2661)
@@ -6,6 +6,8 @@
   * Added LSB part to init script.
   * Removed unneeded debian/todo file
   * Added missing stuff on debian/copyright.
+  * Allow restarting for processes on asterisk group (say daestar, freepbx,
+    etc.).
 
  -- Santiago Ruano Rincón <santiago at debian.org>  Thu, 26 Oct 2006 01:22:19 -0500
 

Modified: op-panel/trunk/debian/copyright
===================================================================
--- op-panel/trunk/debian/copyright	2006-10-29 01:09:16 UTC (rev 2660)
+++ op-panel/trunk/debian/copyright	2006-10-29 01:35:32 UTC (rev 2661)
@@ -4,7 +4,7 @@
 
 It was downloaded from http://www.asternic.org/download.php
 
-Most of the code has Copyright (c) 2004-2006 Nicolas Gudino. All rights reserved.
+Most of the code has Copyright (c) 2004-2006 Nicolás Gudiño. All rights reserved.
 
 License: GPL
 
@@ -19,7 +19,7 @@
 Legal notice:
 
 /***********************************************
-* Cool DHTML tooltip script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
+* Cool DHTML tooltip script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
 * This notice MUST stay intact for legal use
 * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
 ***********************************************/

Modified: op-panel/trunk/debian/op-panel.init
===================================================================
--- op-panel/trunk/debian/op-panel.init	2006-10-29 01:09:16 UTC (rev 2660)
+++ op-panel/trunk/debian/op-panel.init	2006-10-29 01:35:32 UTC (rev 2661)
@@ -25,6 +25,7 @@
 DAEMON=/usr/sbin/op_server
 NAME=op-panel
 DESC="Flash Operator Panel"
+GROUP=asterisk
 
 PIDFILE=/var/run/$NAME/$NAME.pid
 SCRIPTNAME=/etc/init.d/$NAME
@@ -46,7 +47,7 @@
 case "$1" in
   start)
 	echo -n "Starting $DESC: $NAME"
-	start-stop-daemon --chuid $NAME --start --oknodo --pidfile $PIDFILE --startas $DAEMON -- $OPTIONS
+	start-stop-daemon --chuid $NAME:$GROUP --start --oknodo --pidfile $PIDFILE --startas $DAEMON -- $OPTIONS
 	echo "."
 	;;
   stop)
@@ -63,7 +64,7 @@
 	echo -n "Restarting $DESC: $NAME"
 	start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE
 	sleep 1
-	start-stop-daemon --chuid $NAME --start --quiet --pidfile $PIDFILE --startas $DAEMON -- $OPTIONS
+	start-stop-daemon --chuid $NAME:$GROUP --start --quiet --pidfile $PIDFILE --startas $DAEMON -- $OPTIONS
 	echo "."
 	;;
   *)




More information about the Pkg-voip-commits mailing list