diff --git a/patch-control.sh b/patch-control.sh index 190a8d254cf2e74cf1c5f6d047ff0c6bda97729f..3a0e05f6878c8f0ca153c4e441cf86553851b758 100755 --- a/patch-control.sh +++ b/patch-control.sh @@ -14,6 +14,7 @@ # DM_EXE_DIR -> the absolute path of the folder which contain DetectorControl.exe # DM_DATA_DIR -> the absolute path of the folder which contain the detectorfile # PC_CONF_DIR -> the absolute path of the pc.cfg configuration file +# DAQ_SERVER -> IP address of the DAQ Server function put_lock() { touch /tmp/pc.lock @@ -170,7 +171,7 @@ PROCS=(${PROCS[*]} $!) # Launch the DAQ log "Launching the DAQ with the following command line: daq.sh ${run_number} ${run_start_time} ${run_duration_seconds}" daq_driver_log_file=~/.km3_private/daq_driver_${run_number}.log -daq.sh ${run_number} ${run_start_time} ${run_duration_seconds} >${daq_driver_log_file} & +daq.sh ${run_number} ${run_start_time} ${run_duration_seconds} >${daq_driver_log_file} ${DAQ_SERVER} & PROCS=(${PROCS[*]} $!) # Put notification mark in the system tray