<p></p>
<blockquote>
<p>If we provide this capability in the module, it should work in our packages as well.</p>
</blockquote>
<p>If you want to add these extra capabilities via <code>SIREMIS</code> package, then yes. That will works. Required create drop-in like<br>
<code>/etc/systemd/system/kamailio.service.d/20-siremis.conf</code>.</p>
<p>This change made to fix the issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="622060083" data-permission-text="Title is private" data-url="https://github.com/kamailio/kamailio/issues/2334" data-hovercard-type="issue" data-hovercard-url="/kamailio/kamailio/issues/2334/hovercard" href="https://github.com/kamailio/kamailio/issues/2334">#2334</a>.</p>
<p>From my point of view, the correct approach "starts daemons with the specified user and group".<br>
If in some cases this is not enough, then extend capabilities via drop-in.</p>
<p>About creation of <code>/var/run/kamailio</code> need place <code>/usr/lib/tmpfiles.d/kamailio.conf</code> with following content.</p>
<pre><code>D /run/kamailio 0700 kamailio kamailio -
</code></pre>
<p>And after deb package is installed, need to execute a script command like.</p>
<pre><code>systemd-tmpfiles --create kamailio.conf >/dev/null 2>&1
</code></pre>
<p>Victor Seva <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/linuxmaniac/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/linuxmaniac">@linuxmaniac</a> could you look suggestion above.</p>
<p>About extra capabilities via systemd unit file I will make some test.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2391#issuecomment-653890557">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJ2OBAWQ4VIDNLFJJDR2B7NRANCNFSM4OQZWM4A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZO6G3NHYS4WVJPVE3TR2B7NRA5CNFSM4OQZWM4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE34ZH7I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2391#issuecomment-653890557",
"url": "https://github.com/kamailio/kamailio/issues/2391#issuecomment-653890557",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>