Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinDo committed Oct 30, 2023
1 parent 0064f44 commit 7112fa6
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/frontend_celery/start_celery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ helpFunction()
exit 1 # Exit script after printing help
}

while getopts "w:" opt
while getopts "w:h:" opt
do
case "$opt" in
w ) we="$OPTARG" ;;
Expand All @@ -32,12 +32,16 @@ then
fi

# set home for production environment. In systemd $HOME is not available but required for VEP
if [ -n "$localhome"]
then
echo set home to $localhome
export HOME=$localhome
if [ -n "$localhome" ]; then
echo set home to $localhome;
export HOME=$localhome
else
echo "Home was not supplied. Keeping default."
fi


echo HOME: $HOME

echo "preparing celery startup"


Expand Down

0 comments on commit 7112fa6

Please sign in to comment.