diff options
author | Johannes Zellner <johannes@nebulon.de> | 2015-10-16 16:47:29 +0200 |
---|---|---|
committer | Johannes Zellner <johannes@nebulon.de> | 2015-10-16 16:47:29 +0200 |
commit | d27424410695290e5868a895881df7175af3b7d2 (patch) | |
tree | 2234c59d796468d45ae446abd9e80e015b8724d6 /start.sh | |
parent | 5331fd698606c3845006c019cf5f556aef4c6896 (diff) | |
download | Surfer-d27424410695290e5868a895881df7175af3b7d2.tar.gz Surfer-d27424410695290e5868a895881df7175af3b7d2.tar.zst Surfer-d27424410695290e5868a895881df7175af3b7d2.zip |
Run as cloudron user
Diffstat (limited to 'start.sh')
-rwxr-xr-x | start.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,5 +4,6 @@ set -eu | |||
4 | 4 | ||
5 | export NODE_ENV=production | 5 | export NODE_ENV=production |
6 | 6 | ||
7 | cd /app/code | 7 | chown -R cloudron:cloudron /app/data |
8 | node app.js /app/data | 8 | |
9 | /usr/local/bin/gosu cloudron:cloudron || node /app/code/app.js /app/data | ||