diff --git a/image/seafile/create_data_links.sh b/image/seafile/create_data_links.sh index be349b8..fbb2193 100755 --- a/image/seafile/create_data_links.sh +++ b/image/seafile/create_data_links.sh @@ -3,6 +3,10 @@ set -e set -o pipefail +if [[ $SEAFILE_BOOTSRAP != "" ]]; then + exit 0 +fi + dirs=( conf ccnet diff --git a/launcher b/launcher index 213ac58..ef60d10 100755 --- a/launcher +++ b/launcher @@ -49,7 +49,7 @@ set_volumes() { bootstrap() { set_volumes - docker run --rm -it $volumes $image /scripts/bootstrap.py + docker run --rm -it -v SEAFILE_BOOTSRAP=1 $volumes $image /scripts/bootstrap.py } start() {