summaryrefslogtreecommitdiff
path: root/community/opensips/opensips.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/opensips/opensips.service')
-rw-r--r--community/opensips/opensips.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/opensips/opensips.service b/community/opensips/opensips.service
new file mode 100644
index 000000000..220a5d419
--- /dev/null
+++ b/community/opensips/opensips.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=OpenSIPS daemon
+After=network.target remote-fs.target nss-lookup.target
+
+[Service]
+Type=forking
+PIDFile=/run/opensips.pid
+ExecStart=/usr/bin/opensips -f /etc/opensips/opensips.cfg -w /var/tmp -P /run/opensips.pid
+
+[Install]
+WantedBy=multi-user.target