diff --git a/logs/.gitkeep b/logs/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/package.json b/package.json index f185c5f..1a870fe 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ ], "scripts": { "postinstall": "cp 'modules/config.example.js' 'modules/config.js'", - "start": "node bin/www.js", + "start": "forever start -l logs/log.log -o logs/out.log -e logs/error.log -p ./ -a --minUptime 8000 --spinSleepTime 1500 bin/www.js", "test": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage" }, "dependencies": {