mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
move monit process config into main file
This commit is contained in:
@@ -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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user