diff options
-rw-r--r-- | contrib/systemd/osmo-bts-trx.service | 15 | ||||
-rw-r--r-- | contrib/systemd/osmo-bts-virtual.service | 15 | ||||
l---------[-rw-r--r--] | debian/osmo-bts-trx.service | 16 | ||||
l---------[-rw-r--r--] | debian/osmo-bts-virtual.service | 16 |
4 files changed, 32 insertions, 30 deletions
diff --git a/contrib/systemd/osmo-bts-trx.service b/contrib/systemd/osmo-bts-trx.service new file mode 100644 index 00000000..cea8719c --- /dev/null +++ b/contrib/systemd/osmo-bts-trx.service @@ -0,0 +1,15 @@ +[Unit] +Description=Osmocom osmo-bts for osmo-trx + +[Service] +Type=simple +ExecStart=/usr/bin/osmo-bts-trx -s -c /etc/osmocom/osmo-bts.cfg +Restart=always +RestartSec=2 + +# Let it process messages quickly enough +CPUSchedulingPolicy=rr +CPUSchedulingPriority=1 + +[Install] +WantedBy=multi-user.target diff --git a/contrib/systemd/osmo-bts-virtual.service b/contrib/systemd/osmo-bts-virtual.service new file mode 100644 index 00000000..16332669 --- /dev/null +++ b/contrib/systemd/osmo-bts-virtual.service @@ -0,0 +1,15 @@ +[Unit] +Description=Osmocom GSM BTS for virtual Um layer based on GSMTAP/UDP + +[Service] +Type=simple +ExecStart=/usr/bin/osmo-bts-virtual -s -c /etc/osmocom/osmo-bts-virtual.cfg +Restart=always +RestartSec=2 + +# Let it process messages quickly enough +CPUSchedulingPolicy=rr +CPUSchedulingPriority=1 + +[Install] +WantedBy=multi-user.target diff --git a/debian/osmo-bts-trx.service b/debian/osmo-bts-trx.service index cea8719c..1abb0cea 100644..120000 --- a/debian/osmo-bts-trx.service +++ b/debian/osmo-bts-trx.service @@ -1,15 +1 @@ -[Unit] -Description=Osmocom osmo-bts for osmo-trx - -[Service] -Type=simple -ExecStart=/usr/bin/osmo-bts-trx -s -c /etc/osmocom/osmo-bts.cfg -Restart=always -RestartSec=2 - -# Let it process messages quickly enough -CPUSchedulingPolicy=rr -CPUSchedulingPriority=1 - -[Install] -WantedBy=multi-user.target +../contrib/systemd/osmo-bts-trx.service
\ No newline at end of file diff --git a/debian/osmo-bts-virtual.service b/debian/osmo-bts-virtual.service index 16332669..9a660b44 100644..120000 --- a/debian/osmo-bts-virtual.service +++ b/debian/osmo-bts-virtual.service @@ -1,15 +1 @@ -[Unit] -Description=Osmocom GSM BTS for virtual Um layer based on GSMTAP/UDP - -[Service] -Type=simple -ExecStart=/usr/bin/osmo-bts-virtual -s -c /etc/osmocom/osmo-bts-virtual.cfg -Restart=always -RestartSec=2 - -# Let it process messages quickly enough -CPUSchedulingPolicy=rr -CPUSchedulingPriority=1 - -[Install] -WantedBy=multi-user.target +../contrib/systemd/osmo-bts-virtual.service
\ No newline at end of file |