[PATCH] osmo-bts[master]: lc15bts-mgr: separate service file

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Fri Jul 21 15:15:28 UTC 2017


Review at  https://gerrit.osmocom.org/3334

lc15bts-mgr: separate service file

The sysmobts- and lc15bts- mgr have different semantics for the same
command line option (-n: writing to EEPROM vs writing  to ROM). and
different default value. Hence it make sense to use separate files,
similar to osmo-bts-*.service

Change-Id: I645a81e30d7146ff26720391db763b6d585037e6
Related: SYS#3728
---
A contrib/lc15bts-mgr.service
M contrib/sysmobts-mgr.service
2 files changed, 14 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/34/3334/1

diff --git a/contrib/lc15bts-mgr.service b/contrib/lc15bts-mgr.service
new file mode 100644
index 0000000..5790abe
--- /dev/null
+++ b/contrib/lc15bts-mgr.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=osmo-bts manager for LC15 / sysmoBTS 2100
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/lc15bts-mgr -s -c /etc/osmocom/lc15bts-mgr.cfg
+Restart=always
+RestartSec=2
+
+[Install]
+WantedBy=multi-user.target
+Alias=osmo-bts-mgr.service
diff --git a/contrib/sysmobts-mgr.service b/contrib/sysmobts-mgr.service
index 151c821..4346991 100644
--- a/contrib/sysmobts-mgr.service
+++ b/contrib/sysmobts-mgr.service
@@ -1,9 +1,9 @@
 [Unit]
-Description=osmo-bts manager for %p
+Description=osmo-bts manager for sysmoBTS
 
 [Service]
 Type=simple
-ExecStart=/usr/bin/sysmobts-mgr -ns -c /etc/osmocom/%p.cfg
+ExecStart=/usr/bin/sysmobts-mgr -ns -c /etc/osmocom/sysmobts-mgr.cfg
 Restart=always
 RestartSec=2
 

-- 
To view, visit https://gerrit.osmocom.org/3334
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I645a81e30d7146ff26720391db763b6d585037e6
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list