Reputation: 317
I want to start monit process in docker.
Since its getting daemonized, the container is getting completed once monit starts. What is the best way to run it as a foreground process?
Upvotes: 3
Views: 483
Reputation: 22902
From https://wiki.gentoo.org/wiki/Monit:
Running monit in the foreground
To run monit in the foreground and provide feedback on everything it is detecting, use the -Ivv option:
root #monit -Ivv
Upvotes: 2