Module: kamailio
Branch: master
Commit: e9671df3f458ad40d913bd2ce0792340a5df5948
URL:
https://github.com/kamailio/kamailio/commit/e9671df3f458ad40d913bd2ce079234…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2019-09-27T13:27:08+03:00
pkg/kamailio/obs: set correct group name for systemd unit files [skip ci]
---
Modified: pkg/kamailio/obs/sipcapture.service
Modified: pkg/kamailio/obs/sipcapture.tmpfiles
---
Diff:
https://github.com/kamailio/kamailio/commit/e9671df3f458ad40d913bd2ce079234…
Patch:
https://github.com/kamailio/kamailio/commit/e9671df3f458ad40d913bd2ce079234…
---
diff --git a/pkg/kamailio/obs/sipcapture.service b/pkg/kamailio/obs/sipcapture.service
index b6f18cb3ae..6395216308 100644
--- a/pkg/kamailio/obs/sipcapture.service
+++ b/pkg/kamailio/obs/sipcapture.service
@@ -8,6 +8,8 @@ After=mysqld.service
[Service]
Type=simple
+User=kamailio
+Group=kamailio
WorkingDirectory=/run/sipcapture
Environment='CFGFILE=/etc/kamailio/kamailio-sipcapture.cfg'
Environment='SHM_MEMORY=32'
@@ -18,8 +20,6 @@ PIDFile=/run/sipcapture/sipcapture.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -DD -P /run/sipcapture/sipcapture.pid -f $CFGFILE -m
$SHM_MEMORY -M $PKG_MEMORY
Restart=on-failure
-User=kamailio
-Group=daemon
[Install]
diff --git a/pkg/kamailio/obs/sipcapture.tmpfiles b/pkg/kamailio/obs/sipcapture.tmpfiles
index 17567963a8..12a5da7526 100644
--- a/pkg/kamailio/obs/sipcapture.tmpfiles
+++ b/pkg/kamailio/obs/sipcapture.tmpfiles
@@ -1 +1 @@
-D /run/sipcapture 0700 kamailio daemon -
+D /run/sipcapture 0700 kamailio kamailio -