Skip to content
Snippets Groups Projects
Commit f0f6b4d9 authored by Giovanna Lazzari Miotto's avatar Giovanna Lazzari Miotto :mushroom:
Browse files

fix: Adapt runSCdaq script to use JSON5 config

parent bf4fb499
No related branches found
No related tags found
1 merge request!95refactor: config: Use single JSON5 file to configure multiple parallel streams
......@@ -12,7 +12,7 @@ umask 000 # Files and folders we create should be world accessible
while true
do
echo "Starting scdaq..."
/opt/scdaq/bin/scdaq --config /etc/scdaq/scdaq.conf 2>&1
/opt/scdaq/bin/scdaq --config /etc/scdaq/scdaq.json5 2>&1
if [[ ${PIPESTATUS[0]} == 78 ]]; then # Numerical value of EX_CONFIG.
# If the configuration is incomplete there's no point in us retrying forever..
exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment