[sr-dev] [kamailio/kamailio] kamailio.service: fixed RunTimeDir Permission Error (#1754)

sergey-safarov notifications at github.com
Wed Dec 5 21:50:40 CET 2018


sergey-safarov requested changes on this pull request.



> @@ -7,9 +7,13 @@ After=network-online.target
 Type=simple
 User=kamailio
 Group=daemon
+PermissionsStartOnly=true

Why need change `PermissionsStartOnly=true`?
What is error you try fix?

>  Environment='CFGFILE=/etc/kamailio/kamailio.cfg'
 Environment='SHM_MEMORY=64'
 Environment='PKG_MEMORY=4'
+RuntimeDirectory=kamailio
+RuntimeDirectoryMode=0755
+PIDFile=/var/run/kamailio/kamailio.pid

`PIDFile` is optional put may be accepted.
Could you also describe how `RuntimeDirectory` and `RuntimeDirectoryMode`  help you.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1754#pullrequestreview-181964050
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20181205/abce4b02/attachment-0001.html>


More information about the sr-dev mailing list