Skip to content
Snippets Groups Projects

refactor: config: Use single JSON5 file to configure multiple parallel streams

Merged Giovanna Lazzari Miotto requested to merge feature/config/single-file into main
Files
39
+ 1
1
@@ -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
Loading