Skip to content

Commit

Permalink
Update stone-init script to not fail if configuration script is missing
Browse files Browse the repository at this point in the history
This script is optional and used to configure some one-time options in the repository.  As stone-init script is used in the basic image when the user mount an extent manually, this script is not mandatory.
  • Loading branch information
gcotelli committed Apr 8, 2024
1 parent b293d84 commit 2d18264
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/stone-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ startstone \
gslist -cvl

# Configure GS repository

"${GEMSTONE_GLOBAL_DIR}"/configure.sh
if [ -f "${GEMSTONE_GLOBAL_DIR}"/configure.sh ]; then
"${GEMSTONE_GLOBAL_DIR}"/configure.sh
fi

# wait forever, (loop to handle multiple signals if needed)
while true
Expand Down

0 comments on commit 2d18264

Please sign in to comment.