Skip to content

Conversation

@wid
Copy link

@wid wid commented Nov 24, 2014

Hi,

I made a little change to have docker and/or supervisord support with msm.

Processus started by Docker must not return otherwise the container is stopped.

I added a "start nodetach" command to msm to prevent msm from detaching.
Then, msm will wait until a INT signal is received to properly close minecraft by calling command_stop.

Best Regards,

wid added 2 commits September 14, 2014 11:55
I added the « start nodetach » command so supervisord can launch the
process and keep it attached.
Also received SIGTERM or SIGINT will trigger the « stop » command
before exiting.
Supervisord is often use as main process in docker instances
@hdon
Copy link

hdon commented Jun 30, 2019

@wid better than while true; do sleep 1; done is to use tail -f /dev/null

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants