Patch health checks to do the right thing
This commit is contained in:
parent
4b6a1839fb
commit
3e3d73ef8a
1 changed files with 9 additions and 0 deletions
|
@ -50,6 +50,11 @@ shopt -q expand_aliases||{ unalias -a;shopt -s expand_aliases;};builtin alias +=
|
|||
}}
|
||||
}}
|
||||
|
||||
~ edit /healthcheck/nginx.sh; {{
|
||||
- sub "http://127.0.0.1" '"http://$(hostname)"'
|
||||
}}
|
||||
|
||||
|
||||
~ edit /opt/admin/src/AppBundle/CommandInternal/DeliverQuarantineCommand.php; {{
|
||||
# Quarantine "deliver" / deliver:quarantine should send to host, not localhost
|
||||
- sub "\['msmtp', '-f'.*" "['msmtp', '--host', gethostname(), '-f', \$meta['from']];"
|
||||
|
@ -159,6 +164,10 @@ haraka_sub_web=$sockdir/haraka/web-11381.sock
|
|||
'servers = "'"$redis"'";'
|
||||
}}
|
||||
|
||||
~ edit /healthcheck/redis.sh; {{
|
||||
- sub '-h "127.0.0.1"' "-s '$redis'";
|
||||
}}
|
||||
|
||||
~ edit /opt/admin/src/AppBundle/Resources/config/services.yml; {{
|
||||
- sub '^ Predis\\Client: .*$' \
|
||||
' Predis\\Client: { arguments: [ "unix:'"$redis"'" ] }'
|
||||
|
|
Loading…
Reference in a new issue