문제

We have rails app that is running some foreman processes with bundle exec foreman start, and have googled a lot of different things, and found that the common suggestion is to set up another background process handler, and export the processes there. So essentially let someone else do foreman's job of managing the processes.

My question is how do you simply stop or restart foreman processes, as I don't really want to try to export the processes to another manager.

Shouldn't there be a simple: foreman restart

Since there is a: foreman start

Is there a snippet or some other command that anyone has used to restart these processes?

Any help or explanation of the foreman tool would be appreciated.

도움이 되었습니까?

해결책

Used monit to control stop and start of foreman processes.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top