aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-08-29 16:07:51 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-08-29 16:07:51 +0200
commitcadae19f3fc3e876c824c3dcd8075c96b38bccd0 (patch)
treebaca67bdfd988e7c0f8e9588874f3d2c292489c8
parent5ea1e9c59272a0b18bfac221051684169adee99f (diff)
Add osmo-bsc-nat systemd service and install it with debian
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