From 06c098e2cb368c5efdd770f293ca52a712f6221d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 21 Jan 2014 17:05:20 +0100 Subject: sysmobts: Launch the sysmobts-mgr in the screen and add service file Launch the sysmobts-mgr as well. It will monitor the temperature but it will not update the eeprom or act on any of the data. On top of that it will respond to ipaccess-find messages making it more easy to find the device. --- contrib/screenrc-sysmobts | 1 + contrib/sysmobts-mgr.service | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 contrib/sysmobts-mgr.service (limited to 'contrib') diff --git a/contrib/screenrc-sysmobts b/contrib/screenrc-sysmobts index 3d0ff01f..1bd510ce 100644 --- a/contrib/screenrc-sysmobts +++ b/contrib/screenrc-sysmobts @@ -1,4 +1,5 @@ chdir /tmp screen -t BTS 0 /etc/osmocom/respawn.sh /usr/bin/sysmobts -c /etc/osmocom/osmo-bts.cfg -r 1 -M screen -t PCU 1 /etc/osmocom/respawn-only.sh /usr/bin/osmo-pcu -c /etc/osmocom/osmo-pcu.cfg -e +screen -t MGR 2 /etc/osmocom/respawn-only.sh /usr/bin/sysmobts-mgr -n detach diff --git a/contrib/sysmobts-mgr.service b/contrib/sysmobts-mgr.service new file mode 100644 index 00000000..899519f6 --- /dev/null +++ b/contrib/sysmobts-mgr.service @@ -0,0 +1,12 @@ +[Unit] +Description=sysmocom sysmoBTS manager + +[Service] +Type=simple +ExecStart=/usr/bin/sysmobts-mgr -n +Restart=always +RestartSec=2 + +[Install] +WantedBy=multi-user.target + -- cgit v1.2.3