summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Kemper2021-10-22 22:12:13 +0000
committerSebastian Kemper2021-10-22 22:12:15 +0000
commit9017e04b8755b298649280b3d4491666f1b0c94b (patch)
tree5ceb6cfcbaffe1cca8ff7a4d7b586c75072136ec
parentf56b9ff2dcf115a5b90a5f10c6e6eb222ece01fd (diff)
downloadtelephony-9017e04b8755b298649280b3d4491666f1b0c94b.tar.gz
asterisk: don't start with explicit group
Currently the asterisk init script starts the service with the group "asterisk". Like this, even if the asterisk user is part of other groups, asterisk will not be able to make use of them. So for instance if you add the user to the group "dialout", asterisk will run under group "asterisk", instead of "asterisk" _and_ "dialout". Not specifying the group gets rid of this limitation. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
-rw-r--r--net/asterisk/files/asterisk.init1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/asterisk/files/asterisk.init b/net/asterisk/files/asterisk.init
index 256a3cf..0e267e7 100644
--- a/net/asterisk/files/asterisk.init
+++ b/net/asterisk/files/asterisk.init
@@ -51,7 +51,6 @@ start_service() {
procd_open_instance
procd_set_param command $COMMAND
procd_append_param command \
- -G "$NAME" \
-U "$NAME" \
$options \
-f