summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Kemper <sebastian_ml@gmx.net>2021-10-23 00:12:13 +0200
committerSebastian Kemper <sebastian_ml@gmx.net>2021-11-09 19:12:52 +0100
commite6cf1a7b63254fb6e6a5222c58d62d374e9d0604 (patch)
treeb88c0c7af3d27019a9cc9b3cecfbe290eab2a474
parentb688d953ace4576a8da15bc7b20967b25a643ff0 (diff)
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> (cherry picked from commit 9017e04b8755b298649280b3d4491666f1b0c94b)
-rw-r--r--net/asterisk/Makefile2
-rw-r--r--net/asterisk/files/asterisk.init1
2 files changed, 1 insertions, 2 deletions
diff --git a/net/asterisk/Makefile b/net/asterisk/Makefile
index 2293a57..8cc8755 100644
--- a/net/asterisk/Makefile
+++ b/net/asterisk/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk
PKG_VERSION:=18.5.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/asterisk/releases
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