Pau Espin Pedrol has submitted this change and it was merged.

Change subject: contrib: Add systemd service file
......................................................................


contrib: Add systemd service file

Change-Id: I36dd16b75beb4d9bd8081aca6e44c5b72e58fead
---
A contrib/systemd/osmo-sip-connector.service
1 file changed, 12 insertions(+), 0 deletions(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Jenkins Builder: Verified



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

-- 
To view, visit https://gerrit.osmocom.org/6522
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I36dd16b75beb4d9bd8081aca6e44c5b72e58fead
Gerrit-PatchSet: 1
Gerrit-Project: osmo-sip-connector
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <[email protected]>
Gerrit-Reviewer: Pau Espin Pedrol <[email protected]>

Reply via email to