Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to simply stop or restart foreman processes

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.

like image 657
tmartin314 Avatar asked Sep 20 '13 20:09

tmartin314


1 Answers

Used monit to control stop and start of foreman processes.

like image 106
tmartin314 Avatar answered Oct 14 '22 23:10

tmartin314