X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=start.sh;h=6d36f6dacc04aad854d0a73b2e1725b5f8a21433;hb=f8693af1f69c91e93ff1b48614df92a84da78e8d;hp=9967ed8980c211d12e2e5fccc3d7e79c47bc339e;hpb=e16480a383e38dc72ab747ef8bf8b6f02de63f44;p=perso%2FImmae%2FProjets%2FNodejs%2FSurfer.git diff --git a/start.sh b/start.sh index 9967ed8..6d36f6d 100755 --- a/start.sh +++ b/start.sh @@ -4,5 +4,6 @@ set -eu export NODE_ENV=production -cd /app/code -app.js /app/data +chown -R cloudron:cloudron /app/data + +exec /usr/local/bin/gosu cloudron:cloudron node /app/code/server.js /app/data