Skip to content

Commit

Permalink
修改记录日志系统
Browse files Browse the repository at this point in the history
  • Loading branch information
why520crazy committed Jul 4, 2015
1 parent 0ab7b4f commit ca2efa5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
# This is a very simple example
killall node
cd /home/ng-nice
NODE_ENV=production node app.js >> /home/web-log/node-js/ngnice`date +%y%m%d`.log &
echo "`date +%T`" >> /home/web-log/node-js/ngnice.log

NODE_ENV=production pm2 start app.js

0 comments on commit ca2efa5

Please sign in to comment.