[sr-dev] [kamailio/kamailio] Systemd unit update (#1889)

sergey-safarov notifications at github.com
Tue Mar 12 13:25:02 CET 2019


sergey-safarov commented on this pull request.



> @@ -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](https://fedoramagazine.org/systemd-template-unit-files/)
 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1889#discussion_r264651186
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190312/bd33c991/attachment-0001.html>


More information about the sr-dev mailing list