aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester/templates
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-08-08 13:55:24 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2017-08-09 11:01:52 +0000
commit329b6f446c93ebadb9ba407407c443566af6dcf9 (patch)
tree2d982c7591965694d3d779ec1c3e3cf2e054fe60 /src/osmo_gsm_tester/templates
parent4008b69bbeadf9cfd92de5cbd19fce131c77cae3 (diff)
Set osmo-bts pcu-socket config to point to run dir
Otherwise osmo-bts stores the socket file in /tmp. If an earlier instance doesn't finish cleanly, the file is left there and a new instance will fail to start because it cannot create a new socket file in the same place. Change-Id: I5a1da23c45a4ac496fe765e0d78c52dae3e7808b
Diffstat (limited to 'src/osmo_gsm_tester/templates')
-rw-r--r--src/osmo_gsm_tester/templates/osmo-bts-sysmo.cfg.tmpl1
-rw-r--r--src/osmo_gsm_tester/templates/osmo-bts-trx.cfg.tmpl1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo_gsm_tester/templates/osmo-bts-sysmo.cfg.tmpl b/src/osmo_gsm_tester/templates/osmo-bts-sysmo.cfg.tmpl
index cf9666b..69f7ac1 100644
--- a/src/osmo_gsm_tester/templates/osmo-bts-sysmo.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/osmo-bts-sysmo.cfg.tmpl
@@ -16,6 +16,7 @@ bts 0
band ${osmo_bts_sysmo.band}
ipa unit-id ${osmo_bts_sysmo.ipa_unit_id} 0
oml remote-ip ${osmo_bts_sysmo.oml_remote_ip}
+ pcu-socket ${osmo_bts_sysmo.pcu_socket_path}
gsmtap-sapi bcch
gsmtap-sapi ccch
gsmtap-sapi rach
diff --git a/src/osmo_gsm_tester/templates/osmo-bts-trx.cfg.tmpl b/src/osmo_gsm_tester/templates/osmo-bts-trx.cfg.tmpl
index 452b920..1737947 100644
--- a/src/osmo_gsm_tester/templates/osmo-bts-trx.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/osmo-bts-trx.cfg.tmpl
@@ -20,6 +20,7 @@ bts 0
band ${osmo_bts_trx.band}
ipa unit-id ${osmo_bts_trx.ipa_unit_id} 0
oml remote-ip ${osmo_bts_trx.oml_remote_ip}
+ pcu-socket ${osmo_bts_trx.pcu_socket_path}
settsc
gsmtap-sapi bcch
gsmtap-sapi ccch