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