加入 主文件是 index.js node
那麼能夠用的方法有: npm
1.用forever 進行管理 spa
1
2
|
npm install -g forever
forever start index.js
|
2. 用自帶的服務nohub ci
1
|
nohup node index.js > myLog.log 2>&1 &
|