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.