summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-04-26 16:21:43 +0200
committerMax <msuraev@sysmocom.de>2017-04-26 16:21:43 +0200
commit2b229ffaef4d82ec87dc37d274ae62a7c214da7a (patch)
treef6e2d811b78ecb7c93353ac2fa03963eef10c9d9
parentcb1e3660946684e68bba3ab8d59ebd9cf530f83e (diff)
gbproxy: add example .service
-rw-r--r--openbsc/contrib/systemd/osmo-gbproxy.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/openbsc/contrib/systemd/osmo-gbproxy.service b/openbsc/contrib/systemd/osmo-gbproxy.service
new file mode 100644
index 000000000..a0b7829db
--- /dev/null
+++ b/openbsc/contrib/systemd/osmo-gbproxy.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Osmocom Gb proxy
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/osmo-gbproxy -c /etc/osmocom/osmo-gbproxy.cfg
+Restart=always
+RestartSec=2
+RestartPreventExitStatus=1
+
+[Install]
+WantedBy=multi-user.target