Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
chore(docker): INIT_ADMIN message
johavenfadf44ed5978
diff --git a/scripts/docker-sync-in-server.sh b/scripts/docker-sync-in-server.shindex 9ebc7d63..16152427 100755--- a/scripts/docker-sync-in-server.sh+++ b/scripts/docker-sync-in-server.sh@@ -11,13 +11,12 @@ if [ "${SKIP_INIT}" != "true" ]; thenfi# if INIT_ADMIN is defined (regardless of its value)if [ "${INIT_ADMIN+x}" ]; then+ echo "INIT_ADMIN invoked"# create an administrator account if one doesn’t already exist, using the supplied login and password when providedif ! node server/infrastructure/database/scripts/create-user.js --role admin --login "${INIT_ADMIN_LOGIN}" --password "${INIT_ADMIN_PASSWORD}"; thenecho "Error: unable to create administrator !" >&2exit 1fi- else- echo "SKIP_INIT_ADMIN invoked"fitouch .initchmod -R 755 /app/data