freeswitch: don't start with explicit group 694/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Sun, 10 Oct 2021 09:26:39 +0000 (11:26 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sun, 10 Oct 2021 09:26:41 +0000 (11:26 +0200)
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>
net/freeswitch/Makefile
net/freeswitch/files/freeswitch.init

index 75a4067feee01aaad295ab6bc17da090b1f3d77b..d07cbd9350bdd16939f4bfa4973ad206f7130d8d 100644 (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
index b704eb3c98a62eb7aa9b073d32e80a913eede8da..c390b9fca4c9c9a03e967d5f17e907e8cc1f544f 100644 (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" \