Module: kamailio
Branch: 5.3
Commit: 5a44ad2cc57b435fbd7251c0ad078745621c81da
URL:
https://github.com/kamailio/kamailio/commit/5a44ad2cc57b435fbd7251c0ad07874…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2020-10-30T11:26:36Z
pkg/kamailio/deb: allow group write to RuntimeDirectory
(cherry picked from commit fe693cc1178a9301cdb0be3941d9c70d720920e5)
---
Modified: pkg/kamailio/deb/bionic/kamailio.service
Modified: pkg/kamailio/deb/buster/kamailio.service
Modified: pkg/kamailio/deb/debian/kamailio.service
Modified: pkg/kamailio/deb/jessie/kamailio.service
Modified: pkg/kamailio/deb/sid/kamailio.service
Modified: pkg/kamailio/deb/stretch/kamailio.service
Modified: pkg/kamailio/deb/xenial/kamailio.service
---
Diff:
https://github.com/kamailio/kamailio/commit/5a44ad2cc57b435fbd7251c0ad07874…
Patch:
https://github.com/kamailio/kamailio/commit/5a44ad2cc57b435fbd7251c0ad07874…
---
diff --git a/pkg/kamailio/deb/bionic/kamailio.service
b/pkg/kamailio/deb/bionic/kamailio.service
index 5c697f635d..a411114db9 100644
--- a/pkg/kamailio/deb/bionic/kamailio.service
+++ b/pkg/kamailio/deb/bionic/kamailio.service
@@ -19,7 +19,7 @@ ExecStart=/usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f $CFGFILE
-m $SHM_M
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio
-RuntimeDirectoryMode=0750
+RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target
diff --git a/pkg/kamailio/deb/buster/kamailio.service
b/pkg/kamailio/deb/buster/kamailio.service
index 5c697f635d..a411114db9 100644
--- a/pkg/kamailio/deb/buster/kamailio.service
+++ b/pkg/kamailio/deb/buster/kamailio.service
@@ -19,7 +19,7 @@ ExecStart=/usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f $CFGFILE
-m $SHM_M
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio
-RuntimeDirectoryMode=0750
+RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target
diff --git a/pkg/kamailio/deb/debian/kamailio.service
b/pkg/kamailio/deb/debian/kamailio.service
index 5c697f635d..a411114db9 100644
--- a/pkg/kamailio/deb/debian/kamailio.service
+++ b/pkg/kamailio/deb/debian/kamailio.service
@@ -19,7 +19,7 @@ ExecStart=/usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f $CFGFILE
-m $SHM_M
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio
-RuntimeDirectoryMode=0750
+RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target
diff --git a/pkg/kamailio/deb/jessie/kamailio.service
b/pkg/kamailio/deb/jessie/kamailio.service
index 5c697f635d..a411114db9 100644
--- a/pkg/kamailio/deb/jessie/kamailio.service
+++ b/pkg/kamailio/deb/jessie/kamailio.service
@@ -19,7 +19,7 @@ ExecStart=/usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f $CFGFILE
-m $SHM_M
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio
-RuntimeDirectoryMode=0750
+RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target
diff --git a/pkg/kamailio/deb/sid/kamailio.service
b/pkg/kamailio/deb/sid/kamailio.service
index 5c697f635d..a411114db9 100644
--- a/pkg/kamailio/deb/sid/kamailio.service
+++ b/pkg/kamailio/deb/sid/kamailio.service
@@ -19,7 +19,7 @@ ExecStart=/usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f $CFGFILE
-m $SHM_M
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio
-RuntimeDirectoryMode=0750
+RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target
diff --git a/pkg/kamailio/deb/stretch/kamailio.service
b/pkg/kamailio/deb/stretch/kamailio.service
index 5c697f635d..a411114db9 100644
--- a/pkg/kamailio/deb/stretch/kamailio.service
+++ b/pkg/kamailio/deb/stretch/kamailio.service
@@ -19,7 +19,7 @@ ExecStart=/usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f $CFGFILE
-m $SHM_M
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio
-RuntimeDirectoryMode=0750
+RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target
diff --git a/pkg/kamailio/deb/xenial/kamailio.service
b/pkg/kamailio/deb/xenial/kamailio.service
index 5c697f635d..a411114db9 100644
--- a/pkg/kamailio/deb/xenial/kamailio.service
+++ b/pkg/kamailio/deb/xenial/kamailio.service
@@ -19,7 +19,7 @@ ExecStart=/usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f $CFGFILE
-m $SHM_M
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio
-RuntimeDirectoryMode=0750
+RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target