Merged revisions 200254 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

........
  r200254 | seanbright | 2009-06-11 22:20:19 -0400 (Thu, 11 Jun 2009) | 5 lines
  
  Call chgrp instead of chown when setting run directory group ownership.
  
  (issue #13153)
  Reported by: pabelanger
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@200255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Sean Bright
2009-06-12 02:20:54 +00:00
parent a47b4719f0
commit 472db94af1

View File

@@ -73,7 +73,7 @@ case "$1" in
fi fi
if [ $AST_GROUP ] ; then if [ $AST_GROUP ] ; then
ASTARGS="$ASTARGS -G $AST_GROUP" ASTARGS="$ASTARGS -G $AST_GROUP"
chown $AST_GROUP $ASTVARRUNDIR chgrp $AST_GROUP $ASTVARRUNDIR
fi fi
# "start-stop-daemon --oknodo" returns 0 even if Asterisk was already running (as LSB expects): # "start-stop-daemon --oknodo" returns 0 even if Asterisk was already running (as LSB expects):
start-stop-daemon --start --oknodo --exec $DAEMON -- $ASTARGS start-stop-daemon --start --oknodo --exec $DAEMON -- $ASTARGS