aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
l---------debian/osmocom-bsc-nat.service1
-rw-r--r--openbsc/contrib/systemd/osmo-bsc-nat.service11
2 files changed, 12 insertions, 0 deletions
diff --git a/debian/osmocom-bsc-nat.service b/debian/osmocom-bsc-nat.service
new file mode 120000
index 000000000..0d5b3be2f
--- /dev/null
+++ b/debian/osmocom-bsc-nat.service
@@ -0,0 +1 @@
+../openbsc/contrib/systemd/osmo-bsc-nat.service \ No newline at end of file
diff --git a/openbsc/contrib/systemd/osmo-bsc-nat.service b/openbsc/contrib/systemd/osmo-bsc-nat.service
new file mode 100644
index 000000000..245fc6bc4
--- /dev/null
+++ b/openbsc/contrib/systemd/osmo-bsc-nat.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Osmocom GSM BSC Multiplexer (NAT)
+
+[Service]
+Type=simple
+Restart=always
+ExecStart=/usr/bin/osmo-bsc_nat -c /etc/osmocom/osmo-bsc-nat.cfg
+RestartSec=2
+
+[Install]
+WantedBy=multi-user.target