Skip to content

Commit

Permalink
Merge pull request #2 from tectroll/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
tectroll authored Mar 26, 2019
2 parents 538917b + 7fee7fa commit 734072a
Show file tree
Hide file tree
Showing 10 changed files with 1,467 additions and 6 deletions.
2 changes: 1 addition & 1 deletion actor/actor.pl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

hpCurrent => "/etc/haproxy/haproxy.cfg",
hpCmd => "/usr/sbin/haproxy",
hpOptions => $ENV{HP_OPTIONS} || "-f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -st \$(cat /run/haproxy.pid)",
hpOptions => $ENV{HP_OPTIONS} || "-f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -sf \$(cat /run/haproxy.pid)",
hpWait => $ENV{HP_WAIT} || 1,
hpPID => "/run/haproxy.pid",

Expand Down
2 changes: 1 addition & 1 deletion config.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ You can change the actor's behavior by setting the following environment variabl
* LOG_LEVEL: (Default: 3) 0 - no logging, 1 - ERROR, 2 - WARNING, 3 - INFO, 4 - DEBUG
* KA_OPTIONS: (Default: -P -D -l) Sets keepalived command options
* KA_WAIT: (Default: 10) Number of seconds to wait after starting keepalived before checking health
* HP_OPTIONS: (Default: -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -st $(cat /run/haproxy.pid)) Sets HAProxy command options
* HP_OPTIONS: (Default: -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -sf $(cat /run/haproxy.pid)) Sets HAProxy command options. Change -sf to -st to reduce resource usage, but this terminates connections on configuration changes.
* HP_WAIT: (Default: 1) Number of seconds to wait after starting HAProxy before checking health
* NX_OPTIONS: (Default: -c /etc/nginx/nginx.conf) Sets nginx command options
* NX_WAIT: (Default: 1) Number of seconds to wait after starting nginx before checking health
Expand Down
Loading

0 comments on commit 734072a

Please sign in to comment.