Skip to content
Snippets Groups Projects
Commit 4e9cce1b authored by Sean Bright's avatar Sean Bright
Browse files

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/trunk@200254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent c6ce84a3
Branches
Tags
Loading
...@@ -73,7 +73,7 @@ case "$1" in ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment