summarylogtreecommitdiffstats
path: root/kamailio.service
diff options
context:
space:
mode:
authorJosef Miegl2019-03-17 21:49:25 +0100
committerJosef Miegl2019-03-17 21:49:25 +0100
commit2211c80fb9c511403e579ba46d09b65850b605b0 (patch)
tree0d6da168a47686d93d1ff000daa916a0530a7c3a /kamailio.service
parente0209f29fde2c24f2b65e755601ec3a1805a3fe0 (diff)
downloadaur-2211c80fb9c511403e579ba46d09b65850b605b0.tar.gz
update to 5.2.2 and fix systemd service
Diffstat (limited to 'kamailio.service')
-rw-r--r--kamailio.service11
1 files changed, 3 insertions, 8 deletions
diff --git a/kamailio.service b/kamailio.service
index b33295fb14b6..f33ce8c1ec3b 100644
--- a/kamailio.service
+++ b/kamailio.service
@@ -1,18 +1,13 @@
[Unit]
Description=Kamailio - the Open Source SIP Server
-Documentation=man:kamailio(8) https://www.kamailio.org/
Wants=network-online.target
After=syslog.target network-online.target
[Service]
Type=forking
-EnvironmentFile=/etc/kamailio
-PIDFile=/var/run/kamailio.pid
-ExecStart=/usr/bin/kamailio -P /var/run/kamailio.pid
-# /var/run/kamailio in tmpfs
-RuntimeDirectory=kamailio
-RuntimeDirectoryMode=0750Restart=on-failure
-
+PIDFile=/run/kamailio.pid
+ExecStart=/usr/bin/kamailio -P /run/kamailio.pid
+KillMode=mixed
[Install]
WantedBy=multi-user.target