From 8785978c37d87bfefe3d469b9d4f614f082ef9e7 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 21 Jul 2017 17:12:17 +0200 Subject: 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 --- contrib/lc15bts-mgr.service | 12 ++++++++++++ contrib/sysmobts-mgr.service | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 contrib/lc15bts-mgr.service (limited to 'contrib') 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 -- cgit v1.2.3