Daniel Sagayaraj
Daniel Sagayaraj

Reputation: 317

Start monit as a foreground process in docker

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

Answers (1)

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

Related Questions