Skip to content

Commit ca2efa5

Browse files
committed
修改记录日志系统
1 parent 0ab7b4f commit ca2efa5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bin/start.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22
# This is a very simple example
33
killall node
44
cd /home/ng-nice
5-
NODE_ENV=production node app.js >> /home/web-log/node-js/ngnice`date +%y%m%d`.log &
6-
echo "`date +%T`" >> /home/web-log/node-js/ngnice.log
7-
5+
NODE_ENV=production pm2 start app.js

0 commit comments

Comments
 (0)