Review at  https://gerrit.osmocom.org/2464

Add systemd service file

Change-Id: I7fe9d4e0a8520c6394156bc2871777c6c38b0600
---
A contrib/systemd/osmo-hlr.service
1 file changed, 11 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/64/2464/1

diff --git a/contrib/systemd/osmo-hlr.service b/contrib/systemd/osmo-hlr.service
new file mode 100644
index 0000000..6b0d7ba
--- /dev/null
+++ b/contrib/systemd/osmo-hlr.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=OpenBSC Home Location Register (OsmoHLR)
+
+[Service]
+Type=simple
+Restart=always
+ExecStart=/usr/bin/osmo-hlr -c /etc/osmocom/osmo-hlr.cfg -l 
/var/lib/osmocom/hlr.db
+RestartSec=2
+
+[Install]
+WantedBy=multi-user.target

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7fe9d4e0a8520c6394156bc2871777c6c38b0600
Gerrit-PatchSet: 1
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Owner: daniel <[email protected]>

Reply via email to