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.orgReview at https://gerrit.osmocom.org/2913 lc15: add example systemd service file Change-Id: I923b4220f98bb7bd9ec78a6804bdfa9ad988f473 Related: SYS#3686 --- A contrib/osmo-bts-lc15.service 1 file changed, 20 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/13/2913/1 diff --git a/contrib/osmo-bts-lc15.service b/contrib/osmo-bts-lc15.service new file mode 100644 index 0000000..a30d50f --- /dev/null +++ b/contrib/osmo-bts-lc15.service @@ -0,0 +1,20 @@ +[Unit] +Description=osmo-bts for LC15 / sysmoBTS 2100 + +[Service] +Type=simple +ExecStartPre=/bin/sh -c 'echo 0 > /sys/class/leds/usr0/brightness' +ExecStartPre=/bin/sh -c 'echo 0 > /sys/class/leds/usr1/brightness' +ExecStart=/usr/bin/osmo-bts-lc15 -t 2 -s -c /etc/osmocom/osmo-bts.cfg -M +ExecStopPost=/bin/sh -c 'echo 0 > /sys/class/leds/usr0/brightness' +ExecStopPost=/bin/sh -c 'echo 0 > /sys/class/leds/usr1/brightness' +Restart=always +RestartSec=2 +RestartPreventExitStatus=1 + +# The msg queues must be read fast enough +CPUSchedulingPolicy=rr +CPUSchedulingPriority=1 + +[Install] +WantedBy=multi-user.target -- To view, visit https://gerrit.osmocom.org/2913 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I923b4220f98bb7bd9ec78a6804bdfa9ad988f473 Gerrit-PatchSet: 1 Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Owner: Max <msuraev at sysmocom.de>