diff options
| author | ckonstanski <ckonstanski@pippiandcarlos.com> | 2017-09-30 09:34:17 -0600 |
|---|---|---|
| committer | ckonstanski <ckonstanski@pippiandcarlos.com> | 2017-09-30 09:34:17 -0600 |
| commit | 99cf95be512ed5de15045d524f7a5b58fc5a327b (patch) | |
| tree | d9020fe9bd5880034eb265aa48344c3f60aeeb29 /salt/openbook/database/files | |
| parent | a4d54c61b5f673210538f90cbd3159b0e7c6f1aa (diff) | |
clustercheck
Diffstat (limited to 'salt/openbook/database/files')
| -rw-r--r-- | salt/openbook/database/files/clustercheck | 2 | ||||
| -rw-r--r-- | salt/openbook/database/files/clustercheck.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/salt/openbook/database/files/clustercheck b/salt/openbook/database/files/clustercheck index 19ec82a..1f4adc4 100644 --- a/salt/openbook/database/files/clustercheck +++ b/salt/openbook/database/files/clustercheck @@ -6,7 +6,7 @@ service clustercheck type = UNLISTED port = 9200 wait = no - user = nobody + user = root server = /usr/local/bin/clustercheck.sh log_on_failure += USERID only_from = 0.0.0.0/0 diff --git a/salt/openbook/database/files/clustercheck.sh b/salt/openbook/database/files/clustercheck.sh index adb5da8..0a7bc58 100644 --- a/salt/openbook/database/files/clustercheck.sh +++ b/salt/openbook/database/files/clustercheck.sh @@ -32,7 +32,7 @@ fi AVAILABLE_WHEN_DONOR=${1:-1} AVAILABLE_WHEN_READONLY=${2:-1} ERR_FILE="${3:-/dev/null}" -DEFAULTS_EXTRA_FILE="${4:-/etc/my.cnf}" +DEFAULTS_EXTRA_FILE="${4:-/root/.my.cnf}" #Timeout exists for instances where mysqld may be hung TIMEOUT=10 |
