Skip to content

Commit

Permalink
test with re-ordered commands in entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
maaikelimper committed May 23, 2024
1 parent 49c4e5f commit 5aabacc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions wis2box-management/docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ set -e
#ensure environment-variables are available for cronjob
printenv | grep -v "no_proxy" >> /etc/environment

# ensure cron is running
service cron start
service cron status

# wis2box commands
# TODO: avoid re-creating environment if it already exists
# TODO: catch errors and avoid bounce in conjuction with restart: always
wis2box metadata discovery setup
wis2box metadata station setup
wis2box environment create
wis2box environment show
wis2box api setup
wis2box metadata discovery setup
wis2box metadata station setup

# ensure cron is running
service cron start
service cron status

echo "Caching topic hierarchy CSVs"
pywis-topics bundle sync
Expand Down

0 comments on commit 5aabacc

Please sign in to comment.