<p><b>@sergey-safarov</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/kamailio/kamailio/pull/1889#discussion_r264652339">pkg/kamailio/deb/buster/kamailio.service</a>:</p>
<pre style='color:#555'>> @@ -4,18 +4,16 @@ Wants=network-online.target
 After=network-online.target
 
 [Service]
-Type=forking
+Type=simple
+User=kamailio
</pre>
<p><code>there's a way to pass the user and group from environment or invoke command?</code><br>
Please look <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/d3cc4e4c10820e538e7cc73b839140e38df09756/hovercard" href="https://github.com/kamailio/kamailio/commit/d3cc4e4c10820e538e7cc73b839140e38df09756"><tt>d3cc4e4</tt></a><br>
kamailio default have complete description how to change user/group of kamailio process.</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/pull/1889#discussion_r264652339">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZW_po_JstpY9X9HThklVVc4jr8gnks5vV51pgaJpZM4bqpbc">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZbMe6vvxjzsuAbhmyKrfmAWhmDu7ks5vV51pgaJpZM4bqpbc.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@sergey-safarov commented on #1889"}],"action":{"name":"View Pull Request","url":"https://github.com/kamailio/kamailio/pull/1889#discussion_r264652339"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/1889#discussion_r264652339",
"url": "https://github.com/kamailio/kamailio/pull/1889#discussion_r264652339",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>