diff --git a/patch-control.sh b/patch-control.sh
index cb5bd3a62eafa928e30599b7506bac646c44f46d..dc1d69167f18f8dad8ecfe921cf0f9276f7a7aa0 100755
--- a/patch-control.sh
+++ b/patch-control.sh
@@ -159,7 +159,7 @@ run duration = ${run_duration} minutes, \
 run setup file = ${rs_file}."
 
 daq_log_file=~/.km3_private/daq_${run_number}.log
-JGetMessage -H localhost -T MSG -d 3 >${daq_log_file} &
+JGetMessage -H ${DAQ_SERVER} -T MSG -d 3 >${daq_log_file} &
 PROCS=(${PROCS[*]} $!)
 
 # Copy selected run setup file, changing the run number