diff options
Diffstat (limited to 'contrib/systemd')
-rw-r--r-- | contrib/systemd/osmo-bsc-mgcp.service | 11 | ||||
-rw-r--r-- | contrib/systemd/osmo-bsc.service | 12 | ||||
-rw-r--r-- | contrib/systemd/osmo-gbproxy.service | 12 | ||||
-rw-r--r-- | contrib/systemd/osmo-nitb.service | 11 | ||||
-rw-r--r-- | contrib/systemd/osmo-sgsn.service | 11 |
5 files changed, 57 insertions, 0 deletions
diff --git a/contrib/systemd/osmo-bsc-mgcp.service b/contrib/systemd/osmo-bsc-mgcp.service new file mode 100644 index 000000000..c040e6078 --- /dev/null +++ b/contrib/systemd/osmo-bsc-mgcp.service @@ -0,0 +1,11 @@ +[Unit] +Description=OpenBSC MGCP + +[Service] +Type=simple +Restart=always +ExecStart=/usr/bin/osmo-bsc_mgcp -s -c /etc/osmocom/osmo-bsc-mgcp.cfg +RestartSec=2 + +[Install] +WantedBy=multi-user.target diff --git a/contrib/systemd/osmo-bsc.service b/contrib/systemd/osmo-bsc.service new file mode 100644 index 000000000..4047fef48 --- /dev/null +++ b/contrib/systemd/osmo-bsc.service @@ -0,0 +1,12 @@ +[Unit] +Description=OpenBSC BSC +Wants=osmo-bsc-mgcp.service + +[Service] +Type=simple +Restart=always +ExecStart=/usr/bin/osmo-bsc -c /etc/osmocom/osmo-bsc.cfg -s +RestartSec=2 + +[Install] +WantedBy=multi-user.target diff --git a/contrib/systemd/osmo-gbproxy.service b/contrib/systemd/osmo-gbproxy.service new file mode 100644 index 000000000..a0b7829db --- /dev/null +++ b/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 diff --git a/contrib/systemd/osmo-nitb.service b/contrib/systemd/osmo-nitb.service new file mode 100644 index 000000000..377497ee5 --- /dev/null +++ b/contrib/systemd/osmo-nitb.service @@ -0,0 +1,11 @@ +[Unit] +Description=OpenBSC Network In the Box (NITB) + +[Service] +Type=simple +Restart=always +ExecStart=/usr/bin/osmo-nitb -s -C -c /etc/osmocom/osmo-nitb.cfg -l /var/lib/osmocom/hlr.sqlite3 +RestartSec=2 + +[Install] +WantedBy=multi-user.target diff --git a/contrib/systemd/osmo-sgsn.service b/contrib/systemd/osmo-sgsn.service new file mode 100644 index 000000000..674d78656 --- /dev/null +++ b/contrib/systemd/osmo-sgsn.service @@ -0,0 +1,11 @@ +[Unit] +Description=OpenBSC SGSN + +[Service] +Type=simple +Restart=always +ExecStart=/usr/bin/osmo-sgsn -c /etc/osmocom/osmo-sgsn.cfg +RestartSec=2 + +[Install] +WantedBy=multi-user.target |