We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f0f911 commit 5004051Copy full SHA for 5004051
apps.jsbin.com/etc/init/jsbin.conf
@@ -15,7 +15,7 @@ limit nofile 32768 32768
15
script
16
set -e
17
# make sure you only write out to /var/log/upstart/<task>
18
- exec sudo -u www-data PORT=8000 /usr/local/bin/node /WWW/jsbin/ 2>&1
+ exec sudo -u www-data PORT=8000 NODE_ENV=production /usr/local/bin/node /WWW/jsbin/ 2>&1
19
end script
20
21
post-start script
0 commit comments