aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2017-04-13 11:32:47 +0200
committerDaniel Willmann <daniel@totalueberwachung.de>2017-05-03 18:57:23 +0200
commit63b7e86dcf552fb04eab8337c930ced6c970b3c8 (patch)
tree9e7981af898c377c7072416629d8f31dda16ca4c /contrib
parent0ad929b4186b1def0fd9832008ce61c909cff888 (diff)
Add systemd service file
Diffstat (limited to 'contrib')
-rw-r--r--contrib/systemd/osmo-hlr.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/systemd/osmo-hlr.service b/contrib/systemd/osmo-hlr.service
new file mode 100644
index 0000000..64e369d
--- /dev/null
+++ b/contrib/systemd/osmo-hlr.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Osmocom 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