Restart single process with Foreman

半城伤御伤魂 提交于 2019-12-05 13:11:59

While foreman start is very convenient for development, I would not recommend it for production. I recommend using upstart, but there are also other alternatives - foreman also supports exporting to bluepill, inittab and runit (I've never used any of these myself).

I've also used god in the past, and it worked quite well for starting and monitoring processes. I wrote a foreman_god gem to use Procfiles with god, which simplifies the configuration (no need to export any config files).

Alternatively, there is also an export script that exports god config files from your Procfile.

It seems that answer within the fork of John Mosses foreman_restartable , https://github.com/jmoses/foreman

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!