File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change 1- call C:\Instrument\Apps\EPICS\isis\forwarder\master\.venv\scripts\activate
1+ setlocal
2+ call %~dp0 ..\..\..\config_env_base.bat
3+ @ echo on
4+ set " GETMACRO = %EPICS_KIT_ROOT% \support\icpconfig\master\bin\%EPICS_HOST_ARCH% \icpconfigGetMacro.exe"
5+ set " MYIOCNAME = FORWARDER"
6+ set " KAFKA_BROKER = livedata.isis.cclrc.ac.uk:31092"
7+ REM allow local config override in globals.txt
8+ for /f %%a in ( '%GETMACRO% " KAFKA_BROKER" %MYIOCNAME% ' ) do ( set " KAFKA_BROKER = %%a " )
9+
10+ call %~dp0 .venv\scripts\activate
211
312set " EPICS_CA_ADDR_LIST = 127.255.255.255 130.246.55.255"
413set " EPICS_CA_AUTO_ADDR_LIST = NO"
514
6- if " %INSTRUMENT% " == " HIFI" (
7- set " BROKER = 130.246.55.29:9092"
8- ) else (
9- set " BROKER = livedata.isis.cclrc.ac.uk:31092"
10- )
11-
1215echo " starting forwarder"
13- python C:\Instrument\Apps\EPICS\isis\forwarder\master\forwarder_launch.py --status-topic=%BROKER% /%INSTRUMENT% _forwarderStatus --config-topic=%BROKER% /%INSTRUMENT% _forwarderConfig --storage-topic=%BROKER% /%INSTRUMENT% _forwarderStorage --output-broker=%BROKER%
16+ python %~dp0 forwarder_launch.py --status-topic=%KAFKA_BROKER% /%INSTRUMENT% _forwarderStatus --config-topic=%KAFKA_BROKER% /%INSTRUMENT% _forwarderConfig --storage-topic=%KAFKA_BROKER% /%INSTRUMENT% _forwarderStorage --output-broker=%KAFKA_BROKER%
17+
You can’t perform that action at this time.
0 commit comments