summaryrefslogtreecommitdiff
path: root/pcr/kamailio/kamailio.service
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-02-22 15:46:16 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-02-22 15:46:16 +0100
commit43ca418088df09af33c6e307ea76005803891f01 (patch)
tree7ed831562a0ac0be352816be29126290fe0d8ca6 /pcr/kamailio/kamailio.service
parent6d0091a2363e8e67c955aec242722cb6d42eec1e (diff)
downloadabslibre-43ca418088df09af33c6e307ea76005803891f01.tar.gz
abslibre-43ca418088df09af33c6e307ea76005803891f01.tar.bz2
abslibre-43ca418088df09af33c6e307ea76005803891f01.zip
pcr/kamailio: updated to 5.2.1
Diffstat (limited to 'pcr/kamailio/kamailio.service')
-rw-r--r--pcr/kamailio/kamailio.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/pcr/kamailio/kamailio.service b/pcr/kamailio/kamailio.service
new file mode 100644
index 000000000..e3449dde6
--- /dev/null
+++ b/pcr/kamailio/kamailio.service
@@ -0,0 +1,18 @@
+[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=0750
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target