[sr-dev] [kamailio/kamailio] commit 0436af5abd8b73e breaks startup for jsonrpcs module (#2391)

sergey-safarov notifications at github.com
Sun Jul 5 15:42:48 CEST 2020


>If we provide this capability in the module, it should work in our packages as well.

If you want to add these extra capabilities via `SIREMIS` package, then yes. That will works. Required create drop-in like
`/etc/systemd/system/kamailio.service.d/20-siremis.conf`.

This change made to fix the issue https://github.com/kamailio/kamailio/issues/2334.

>From my point of view, the correct approach "starts daemons with the specified user and group".
If in some cases this is not enough, then extend capabilities via drop-in.

About creation of `/var/run/kamailio` need place `/usr/lib/tmpfiles.d/kamailio.conf` with following content.
```
D /run/kamailio 0700 kamailio kamailio -
```
And after deb package is installed, need to execute a script command like.
```
systemd-tmpfiles --create kamailio.conf >/dev/null 2>&1
```
Victor Seva @linuxmaniac could you look suggestion above.

About extra capabilities via systemd unit file I will make some test.


-- 
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/issues/2391#issuecomment-653890557
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200705/ae1d16e6/attachment-0001.html>


More information about the sr-dev mailing list