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 #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, view it on GitHub, or unsubscribe.