Created
January 16, 2019 09:36
-
-
Save ttj4/4cfcc218e2616b5b3d80cdfef8471671 to your computer and use it in GitHub Desktop.
monit tool configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
check process price with pidfile /var/run/price.pid | |
start program = "/bin/bash /home/ubuntu/etc/init_globalfeed.sh start" | |
stop program = "/bin/bash /home/ubuntu/etc/init_globalfeed.sh stop" | |
check process proxy with pidfile /var/run/proxy-server.pid | |
start program = "/bin/bash /home/ubuntu/etc/init_proxy.sh start" | |
stop program = "/bin/bash /home/ubuntu/etc/init_proxy.sh stop" | |
depends on price | |
check process quote with pidfile /var/run/quoteupdate.pid | |
start program = "/bin/bash /home/ubuntu/etc/init_quote.sh start" | |
stop program = "/bin/bash /home/ubuntu/etc/init_quote.sh stop" | |
depends on proxy | |
check process chart with pidfile /var/run/chartupdater.pid | |
start program = "/bin/bash /home/ubuntu/etc/init_chart.sh start" | |
stop program = "/bin/bash /home/ubuntu/etc/init_chart.sh stop" | |
depends on proxy | |
check process rms with pidfile /var/run/rmsapp.pid | |
start program = "/bin/bash /home/ubuntu/etc/init_rms.sh start" | |
stop program = "/bin/bash /home/ubuntu/etc/init_rms.sh stop" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment