diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-01-21 17:05:20 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-01-21 17:08:35 +0100 |
commit | 06c098e2cb368c5efdd770f293ca52a712f6221d (patch) | |
tree | ca03de569d2b39a080e0286925c7916955320dd0 | |
parent | d76211dc3b4cb1c58d3ca2ab28933a488091e950 (diff) |
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.
-rw-r--r-- | contrib/screenrc-sysmobts | 1 | ||||
-rw-r--r-- | contrib/sysmobts-mgr.service | 12 |
2 files changed, 13 insertions, 0 deletions
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 + |