summarylogtreecommitdiffstats
path: root/kamailio.service
diff options
context:
space:
mode:
authorJosef Miegl2019-02-12 23:50:39 +0100
committerJosef Miegl2019-02-12 23:50:39 +0100
commit4c8d26670b04323f6873f61b3d4958910d02ed52 (patch)
treea700e4a5066e96e66b630ea5913a6edfade070aa /kamailio.service
parent19904f0c2b03e1735c3fb2518b1a54e798a56da3 (diff)
downloadaur-4c8d26670b04323f6873f61b3d4958910d02ed52.tar.gz
update
Diffstat (limited to 'kamailio.service')
-rw-r--r--kamailio.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/kamailio.service b/kamailio.service
new file mode 100644
index 00000000000..b33295fb14b
--- /dev/null
+++ b/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=0750Restart=on-failure
+
+
+[Install]
+WantedBy=multi-user.target