aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/systemd/osmo-ggsn.service
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/systemd/osmo-ggsn.service')
-rw-r--r--contrib/systemd/osmo-ggsn.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/systemd/osmo-ggsn.service b/contrib/systemd/osmo-ggsn.service
new file mode 100644
index 0000000..c75325d
--- /dev/null
+++ b/contrib/systemd/osmo-ggsn.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=OsmoGGSN
+After=networking.service
+
+[Service]
+Type=simple
+Restart=always
+ExecStart=/usr/bin/osmo-ggsn -c /etc/osmocom/osmo-ggsn.cfg
+RestartSec=2
+RestartPreventExitStatus=1
+
+[Install]
+WantedBy=multi-user.target