Created
August 30, 2014 13:45
-
-
Save A/03563f994aea009c4866 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| [root@12time ~]# cat ./start_node | |
| #!/bin/bash | |
| export NODE_ENV=development | |
| export MONGODB=0.0.0.0/justchat-prod | |
| export HOST=82.146.58.73 | |
| export PORT=800 | |
| export PWD=/www/project | |
| supervisor /www/project/app.js | |
| [root@12time ~]# ./start_node | |
| Running node-supervisor with | |
| program '/www/project/app.js' | |
| --watch '.' | |
| --extensions 'node,js' | |
| --exec 'node' | |
| Starting child process with 'node /www/project/app.js' | |
| Watching directory '/root' for changes. | |
| 30 Aug 17:42:06 - init [project/app.js] | |
| 30 Aug 17:42:07 - info [project/app.js] Express listen undefined host and NaN port |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment