We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ab7b4f commit ca2efa5Copy full SHA for ca2efa5
bin/start.sh
@@ -2,6 +2,4 @@
2
# This is a very simple example
3
killall node
4
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
-
+NODE_ENV=production pm2 start app.js
0 commit comments