summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-02-16 17:04:05 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2018-02-16 17:04:30 +0100
commitdf62bb330e403293d7328b50f1276288ed7faca6 (patch)
tree94acbff223b5e83b9c93dbbfeb38b912bc263241
parentb18bbf3fd873beb44bedb55f6946a14e1d4370f2 (diff)
contrib: Add systemd service file
-rw-r--r--contrib/systemd/osmo-sip-connector.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/systemd/osmo-sip-connector.service b/contrib/systemd/osmo-sip-connector.service
new file mode 100644
index 0000000..e44ab9b
--- /dev/null
+++ b/contrib/systemd/osmo-sip-connector.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Osmo SIP Connector
+Wants=osmo-sip-connector.service
+
+[Service]
+Type=simple
+Restart=always
+ExecStart=/usr/bin/osmo-sip-connector -c /etc/osmocom/osmo-sip-connector.cfg
+RestartSec=2
+
+[Install]
+WantedBy=multi-user.target