aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-07-21 17:12:17 +0200
committerMax <msuraev@sysmocom.de>2017-07-21 17:12:17 +0200
commit8785978c37d87bfefe3d469b9d4f614f082ef9e7 (patch)
tree4decc5a3fe5ca77d03d79fc5ab98c26cab7ab2ec
parent0e9dadc3d8e475eff867388b2db65919da36c505 (diff)
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
-rw-r--r--contrib/lc15bts-mgr.service12
-rw-r--r--contrib/sysmobts-mgr.service4
2 files changed, 14 insertions, 2 deletions
diff --git a/contrib/lc15bts-mgr.service b/contrib/lc15bts-mgr.service
new file mode 100644
index 00000000..5790abe4
--- /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 151c8215..4346991d 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