From: Peter Zumbruch Date: Fri, 8 Nov 2013 16:08:13 +0000 (+0100) Subject: added stats.db into startup of IOCs to allow view from Detector Controls X-Git-Tag: pre2018~122 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=0e7c966e94326575d4a484e452dc1de3d6a40917;p=hadesdaq.git added stats.db into startup of IOCs to allow view from Detector Controls 'cpu' gui --- diff --git a/evtbuild/start_eb_gbe.pl b/evtbuild/start_eb_gbe.pl index 2d22772..0be0371 100755 --- a/evtbuild/start_eb_gbe.pl +++ b/evtbuild/start_eb_gbe.pl @@ -667,7 +667,7 @@ sub startIOC() my $stcmd = sprintf("st_eb%02d.cmd", 1 + $ebproc); my $screen_name = sprintf("ioc_eb%02d", 1 + $ebproc); - my $cmd = "bash; . /home/scs/.bashrc; cd $ioc_dir; screen -dmS $screen_name ../../bin/linux-x86_64/ebctrl $stcmd"; + my $cmd = "bash; . /home/scs/.bashrc; export HOSTNAME=\\\$(hostname); cd $ioc_dir; screen -dmS $screen_name ../../bin/linux-x86_64/ebctrl $stcmd"; my $cpu = $EB_Args_href->{$ebproc}->{'IP'}; my $exe = "ssh -n $cpu -l scs \"$cmd\""; @@ -721,8 +721,6 @@ sub writeIOC_stcmd() my $ioc_stcmd = <