Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
#1186 fix start log
Browse files Browse the repository at this point in the history
  • Loading branch information
dperl-dls committed Feb 29, 2024
1 parent d406cf4 commit c57788c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions run_hyperion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ if [[ $START == 1 ]]; then
echo "$(date) Logging to $HYPERION_LOG_DIR"
export HYPERION_LOG_DIR
mkdir -p $HYPERION_LOG_DIR
start_log_path=$HYPERION_LOG_DIR/start_log.txt
callback_start_log_path=$HYPERION_LOG_DIR/callback_start_log.txt
start_log_path=$HYPERION_LOG_DIR/start_log.log
callback_start_log_path=$HYPERION_LOG_DIR/callback_start_log.log

source .venv/bin/activate

Expand Down Expand Up @@ -145,11 +145,10 @@ if [[ $START == 1 ]]; then
done

unset PYEPICS_LIBCA
screen -S hyperion-debug -d -m hyperion `echo $h_commands;`>$start_log_path &
hyperion `echo $h_commands;`>$start_log_path 2>&1 &
if [ $EXTERNAL_CALLBACK_SERVICE == true ]; then
hyperion-callbacks `echo $cb_commands;`>$callback_start_log_path 2>&1 &
fi

echo "$(date) Waiting for Hyperion to start"

for i in {1..30}
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ install_requires =
xarray
doct
databroker
dls-dodal @ git+https://github.com/DiamondLightSource/dodal.git@00ef53ddf55c53fd000990c25ad6093e88f39fe4
dls-dodal @ git+https://github.com/DiamondLightSource/dodal.git@f7dad0203d3d801df498ec1b2ee3d56945d15aab
pydantic<2.0 # See https://github.com/DiamondLightSource/hyperion/issues/774
scipy
pyzmq<25 # See https://github.com/DiamondLightSource/hyperion/issues/1103
Expand Down

0 comments on commit c57788c

Please sign in to comment.