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>
This commit is contained in:
Sebastian Kemper 2021-10-23 00:12:13 +02:00
parent f56b9ff2dc
commit 9017e04b87

View file

@ -51,7 +51,6 @@ start_service() {
procd_open_instance
procd_set_param command $COMMAND
procd_append_param command \
-G "$NAME" \
-U "$NAME" \
$options \
-f