mirror of
https://git.cloudron.io/cloudron/minio-app
synced 2025-09-24 22:17:35 +00:00
app needs restart
This commit is contained in:
2
start.sh
2
start.sh
@@ -9,7 +9,7 @@ mkdir -p /app/data/data /run/minio/config /run/minio/certs
|
||||
echo "==> Changing ownership"
|
||||
[[ $(stat --format '%U' /app/data/data) != "cloudron" ]] && chown -R cloudron:cloudron /app/data
|
||||
|
||||
[[ ! -f /app/data/env.sh ]] && echo -e "# Add custom minio configuration to this file\n\nexport CLOUDRON_MINIO_STARTUP_ARGS='server /app/data/data'" > /app/data/env.sh
|
||||
[[ ! -f /app/data/env.sh ]] && echo -e "# Add custom minio configuration to this file. Restart the app for changes to take effect.\n\nexport CLOUDRON_MINIO_STARTUP_ARGS='server /app/data/data'" > /app/data/env.sh
|
||||
|
||||
source /app/data/env.sh
|
||||
|
||||
|
Reference in New Issue
Block a user