From 0e7c966e94326575d4a484e452dc1de3d6a40917 Mon Sep 17 00:00:00 2001
From: Peter Zumbruch
Date: Fri, 8 Nov 2013 17:08:13 +0100
Subject: [PATCH] added stats.db into startup of IOCs to allow view from
Detector Controls 'cpu' gui
---
evtbuild/start_eb_gbe.pl | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
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 = <