aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/systemd/osmo-bts-lc15.service
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/systemd/osmo-bts-lc15.service')
-rw-r--r--contrib/systemd/osmo-bts-lc15.service5
1 files changed, 1 insertions, 4 deletions
diff --git a/contrib/systemd/osmo-bts-lc15.service b/contrib/systemd/osmo-bts-lc15.service
index 90e7fc29..7c511100 100644
--- a/contrib/systemd/osmo-bts-lc15.service
+++ b/contrib/systemd/osmo-bts-lc15.service
@@ -3,11 +3,8 @@ Description=osmo-bts for LC15 / sysmoBTS 2100
[Service]
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-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'
+RuntimeDirectory=osmo-bts
Restart=always
RestartSec=2
RestartPreventExitStatus=1