LoginSignup
1
2

More than 3 years have passed since last update.

NodeJSデーモン化

Posted at

導入

npm install -g forever
* グローバルに導入

  • 起動
    forever start -l forever.log -w app.js
    forever start -w app.js
    • -w Node.jsファイルの中身を編集した際に自動的に検知して再実行してくれる監視機能が追加
  • リスト forever list
  • ログ forever logs
  • 停止 forever stop app.js
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2