dect
/
asterisk
Archived
13
0
Fork 0

Call chgrp instead of chown when setting run directory group ownership.

(issue #13153)
Reported by: pabelanger


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@200254 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
seanbright 2009-06-12 02:20:19 +00:00
parent d50af8adf9
commit ce335ab379
1 changed files with 1 additions and 1 deletions

View File

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