DarthSim / overmind

Process manager for Procfile-based applications and tmux
MIT License
2.89k stars 82 forks source link

Unclean exit "Overmind is already running" #186

Open henrikbjorn opened 3 months ago

henrikbjorn commented 3 months ago

I have added Overmind into my Dockerfile for my Rails application. And have changed the bin/dev from foreman to overmind.

However it seems that the Overmind process is not cleanly shutdown when the container stops as the .overmind.sock file is left.

The entrypoint specifies exec "${@}" which will be translated to exec bin/dev for my application and Overmind is running as pid 1.

Is this expected or am I missing something here?

Note that the Rails server.pid is cleaned up.