mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-28 07:31:23 -07:00
move monit process config into main file
This commit is contained in:
parent
f987adc1ce
commit
f038109912
2 changed files with 4 additions and 5 deletions
|
@ -1,4 +0,0 @@
|
||||||
check process httpd_echo with pidfile /tmp/httpd_echo.pid
|
|
||||||
start program = "{{ansible_python.executable}} /opt/httpd_echo.py start"
|
|
||||||
stop program = "{{ansible_python.executable}} /opt/httpd_echo.py stop"
|
|
||||||
if failed host localhost port 8082 then restart
|
|
|
@ -11,4 +11,7 @@ set httpd port 2812 and
|
||||||
use address localhost
|
use address localhost
|
||||||
allow localhost
|
allow localhost
|
||||||
|
|
||||||
include /etc/monit/conf.d/*
|
check process httpd_echo with pidfile /tmp/httpd_echo.pid
|
||||||
|
start program = "{{ansible_python.executable}} /opt/httpd_echo.py start"
|
||||||
|
stop program = "{{ansible_python.executable}} /opt/httpd_echo.py stop"
|
||||||
|
if failed host localhost port 8082 then restart
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue