OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 06-Sep-2006 19:57:47
Branch: HEAD Handle: 2006090618574700
Modified files:
openpkg-src/asterisk rc.asterisk
Log:
asterisk really always has to be started as 'root' (also for -rx
'xxxx') as it tries to drop privileges by its own and fails if this is
not possible
Summary:
Revision Changes Path
1.2 +4 -4 openpkg-src/asterisk/rc.asterisk
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/asterisk/rc.asterisk
============================================================================
$ cvs diff -u -r1.1 -r1.2 rc.asterisk
--- openpkg-src/asterisk/rc.asterisk 5 Sep 2006 07:39:33 -0000 1.1
+++ openpkg-src/asterisk/rc.asterisk 6 Sep 2006 17:57:47 -0000 1.2
@@ -12,7 +12,7 @@
asterisk_log_minsize="1M"
asterisk_log_complevel="9"
-%status -u @l_rusr@ -o
+%status -u @l_susr@ -o
asterisk_usable="unknown"
asterisk_active="no"
rcService asterisk enable yes && \
@@ -27,7 +27,7 @@
rcService asterisk active yes && exit 0
@l_prefix@/sbin/asterisk ${asterisk_flags}
-%stop -u @l_rusr@
+%stop -u @l_susr@
rcService asterisk enable yes || exit 0
rcService asterisk active no && exit 0
( @l_prefix@/sbin/asterisk -rx "stop gracefully" &
@@ -35,12 +35,12 @@
sleep 2
@l_prefix@/sbin/asterisk -rx "stop now"
-%restart -u @l_rusr@
+%restart -u @l_susr@
rcService asterisk enable yes || exit 0
rcService asterisk active no && exit 0
rc asterisk stop start
-%reload -u @l_rusr@
+%reload -u @l_susr@
rcService asterisk enable yes || exit 0
rcService asterisk active no && exit 0
@l_prefix@/sbin/asterisk -rx "reload"
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]