#!/bin/csh

if ( ! $?APP ) then
    source /gluex/etc/hdonline.cshrc
endif

#setenv LD_LIBRARY_PATH "${EPICS_BASE}/lib/linux-x86_64:${EPICS_EXTENSIONS}/lib/linux-x86_64:${LD_LIBRARY_PATH}"
#cd /gapps/root/Linux_RHEL7-x86_64-gcc4.8.5/5.34.26/
#source /gapps/root/Linux_RHEL7-x86_64-gcc4.8.5/5.34.26/bin/thisroot.sh /gapps/root/Linux_RHEL7-x86_64-gcc4.8.5/5.34.26


procServ -c "$APP/iocBoot/ioccbrem" -n "CBREM SPECTRUM" -i ^D^C 25042  ./cbremSpectrumMacro.cmd &;
