aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-09-06 15:15:28 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-09-06 15:15:28 +0200
commit5262ceca72871a68600aea300c362bc911598ea3 (patch)
tree2cbd2ba70287345e3185adaf46d6acb5438ceedf /contrib
parent84c6ec6f17c17749a45a132070e87484db52a30b (diff)
Add osmo-gtphub systemd service file
Diffstat (limited to 'contrib')
-rw-r--r--contrib/systemd/osmo-gtphub.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/systemd/osmo-gtphub.service b/contrib/systemd/osmo-gtphub.service
new file mode 100644
index 000000000..488178584
--- /dev/null
+++ b/contrib/systemd/osmo-gtphub.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Osmocom GTP Hub
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/osmo-gtphub -c /etc/osmocom/osmo-gtphub.cfg
+Restart=always
+RestartSec=2
+RestartPreventExitStatus=1
+
+[Install]
+WantedBy=multi-user.target