diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/systemd/osmo-bts-lc15.service | 2 | ||||
-rw-r--r-- | contrib/systemd/osmo-bts-sysmo.service | 2 | ||||
-rw-r--r-- | contrib/systemd/osmo-bts-trx.service | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/systemd/osmo-bts-lc15.service b/contrib/systemd/osmo-bts-lc15.service index 6aa9751f..90e7fc29 100644 --- a/contrib/systemd/osmo-bts-lc15.service +++ b/contrib/systemd/osmo-bts-lc15.service @@ -5,7 +5,7 @@ Description=osmo-bts for LC15 / sysmoBTS 2100 Type=simple ExecStartPre=/bin/sh -c 'echo 1 > /sys/class/leds/usr0/brightness' ExecStartPre=/bin/sh -c 'echo 1 > /sys/class/leds/usr1/brightness' -ExecStart=/usr/bin/osmo-bts-lc15 -t 2 -s -c /etc/osmocom/osmo-bts.cfg -M +ExecStart=/usr/bin/osmo-bts-lc15 -t 2 -s -c /etc/osmocom/osmo-bts-lc15.cfg -M ExecStopPost=/bin/sh -c 'echo 1 > /sys/class/leds/usr0/brightness' ExecStopPost=/bin/sh -c 'echo 0 > /sys/class/leds/usr1/brightness' Restart=always diff --git a/contrib/systemd/osmo-bts-sysmo.service b/contrib/systemd/osmo-bts-sysmo.service index 65b1f00b..92558172 100644 --- a/contrib/systemd/osmo-bts-sysmo.service +++ b/contrib/systemd/osmo-bts-sysmo.service @@ -4,7 +4,7 @@ Description=osmo-bts for sysmocom sysmoBTS [Service] Type=simple ExecStartPre=/bin/sh -c 'echo 0 > /sys/class/leds/activity_led/brightness' -ExecStart=/usr/bin/osmo-bts-sysmo -s -c /etc/osmocom/osmo-bts.cfg -M +ExecStart=/usr/bin/osmo-bts-sysmo -s -c /etc/osmocom/osmo-bts-sysmo.cfg -M ExecStopPost=/bin/sh -c 'echo 0 > /sys/class/leds/activity_led/brightness' ExecStopPost=/bin/sh -c 'cat /lib/firmware/sysmobts-v?.bit > /dev/fpgadl_par0 ; sleep 3s; cat /lib/firmware/sysmobts-v?.out > /dev/dspdl_dm644x_0; sleep 1s' Restart=always diff --git a/contrib/systemd/osmo-bts-trx.service b/contrib/systemd/osmo-bts-trx.service index cea8719c..97c2b070 100644 --- a/contrib/systemd/osmo-bts-trx.service +++ b/contrib/systemd/osmo-bts-trx.service @@ -3,7 +3,7 @@ Description=Osmocom osmo-bts for osmo-trx [Service] Type=simple -ExecStart=/usr/bin/osmo-bts-trx -s -c /etc/osmocom/osmo-bts.cfg +ExecStart=/usr/bin/osmo-bts-trx -s -c /etc/osmocom/osmo-bts-trx.cfg Restart=always RestartSec=2 |