freeswitch: don't start with explicit group

Currently the freeswitch init script starts the service with the group
"freeswitch". Like this, even if the freeswitch user is part of other
groups, freeswitch will not be able to make use of them. So for instance
if you add the user to the group "dialout", freeswitch will run under
group "freeswitch", instead of "freeswitch" _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-10 11:26:39 +02:00
parent bbdf6706cf
commit 060be263d2
2 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=freeswitch
PKG_VERSION:=1.10.6
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_MAINTAINER:=Sebastian Kemper <sebastian_ml@gmx.net>
PKG_SOURCE:=freeswitch-$(PKG_VERSION).-release.tar.xz

View File

@ -83,7 +83,6 @@ start_service() {
-cache "$dir_cache" \
-conf "$dir_etc" \
-db "$dir_db" \
-g "$NAME" \
-log "$dir_log" \
-recordings "$dir_recordings" \
-run "$dir_run" \