-
-
Save malditogeek/5bec34c2709282f13e48 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start on runlevel [2345] | |
pre-start script | |
bash << "EOF" | |
mkdir -p /var/apps/logs | |
chown -R deploy /var/apps/logs | |
EOF | |
end script | |
start on (started network-interface | |
or started network-manager | |
or started networking) | |
stop on (stopping network-interface | |
or stopping network-manager | |
or stopping networking) | |
stop on runlevel [016] | |
respawn | |
setuid deploy | |
setgid deploy | |
env NODE_ENV=production | |
env PORT=5000 | |
env TW_CONSUMER_KEY="" | |
env TW_CONSUMER_SECRET="" | |
env TW_TOKEN="" | |
env TW_TOKEN_SECRET="" | |
env GA="" | |
env COOKIE_SECRET="" | |
chdir /var/apps/vmux | |
exec /var/apps/vmux/node_modules/coffee-script/bin/coffee /var/apps/vmux/app.coffee >> /var/apps/logs/vmux.log 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment