Skip to content

Instantly share code, notes, and snippets.

@nishinoshake
Created July 10, 2016 11:13
Show Gist options
  • Save nishinoshake/a744ebb36cc956965f6cf5f942071710 to your computer and use it in GitHub Desktop.
Save nishinoshake/a744ebb36cc956965f6cf5f942071710 to your computer and use it in GitHub Desktop.
foreverでデーモンの死活監視

##なぜ使うか ふつうにnodeコマンドで実行した場合、プロセスが死んだらそのまま。
foreverを使えば死活監視をして、プロセスを再起動してくれる。

https://github.com/foreverjs/forever

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment