From 5262ceca72871a68600aea300c362bc911598ea3 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 6 Sep 2018 15:15:28 +0200 Subject: Add osmo-gtphub systemd service file Change-Id: I7ecfc9aa55611ae9975e5ef8c0716dae7598524c --- contrib/systemd/osmo-gtphub.service | 12 ++++++++++++ debian/osmo-gtphub.service | 1 + 2 files changed, 13 insertions(+) create mode 100644 contrib/systemd/osmo-gtphub.service create mode 120000 debian/osmo-gtphub.service 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 diff --git a/debian/osmo-gtphub.service b/debian/osmo-gtphub.service new file mode 120000 index 000000000..81a0eb473 --- /dev/null +++ b/debian/osmo-gtphub.service @@ -0,0 +1 @@ +../contrib/systemd/osmo-gtphub.service \ No newline at end of file -- cgit v1.2.3