@sergey-safarov commented on this pull request.


In pkg/kamailio/deb/buster/kamailio.service:

> @@ -4,18 +4,16 @@ Wants=network-online.target
 After=network-online.target
 
 [Service]
-Type=forking
+Type=simple
+User=kamailio

To change username at runtime need place drop-in into /run/systemd/system/kamailio.service.d directory and apply changes by systemctl daemon-reload
For dynamic unit updates you cannot use /etc/systemd/system/kamailio.service.d directory.

Also you can use service templates


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.