X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=start.sh;h=6d36f6dacc04aad854d0a73b2e1725b5f8a21433;hb=6a1e16e6964b8c176606dbf5690b957219a127e6;hp=84ea5efc58c714696fd264e97ac300e68c0a1a91;hpb=b72caa6940baba0eb75a7ad9618c57cc771d44cf;p=perso%2FImmae%2FProjets%2FNodejs%2FSurfer.git diff --git a/start.sh b/start.sh index 84ea5ef..6d36f6d 100755 --- a/start.sh +++ b/start.sh @@ -4,5 +4,6 @@ set -eu export NODE_ENV=production -forever start --workingDir /app/code app.js -forever logs -f 0 \ No newline at end of file +chown -R cloudron:cloudron /app/data + +exec /usr/local/bin/gosu cloudron:cloudron node /app/code/server.js /app/data