diff options
author | Michael Adam <obnox@samba.org> | 2009-08-28 13:01:27 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-09-09 09:52:14 +0200 |
commit | e80a7001ffce7acd5c0a5b913bdca186400bdecc (patch) | |
tree | 6ad02f3352d297e63350919ffe14ac21d3ff2c04 /ctdb/config/ctdb.init | |
parent | 4c78f88dff494b55607832d2dc353f25047c2df5 (diff) | |
download | samba-e80a7001ffce7acd5c0a5b913bdca186400bdecc.tar.gz samba-e80a7001ffce7acd5c0a5b913bdca186400bdecc.tar.xz samba-e80a7001ffce7acd5c0a5b913bdca186400bdecc.zip |
Introduce sysconfig variable CTDB_SYSLOG=yes/no (default "no").
This allows for controlling start of ctdbd with or without the option "--syslog"
from the sysconfig/ctdb file.
Michael
(This used to be ctdb commit 7bf9fff9139a4270496bddb97f9433bab87824bf)
Diffstat (limited to 'ctdb/config/ctdb.init')
-rwxr-xr-x | ctdb/config/ctdb.init | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/config/ctdb.init b/ctdb/config/ctdb.init index 554649bc1d..9b965a900d 100755 --- a/ctdb/config/ctdb.init +++ b/ctdb/config/ctdb.init @@ -103,6 +103,7 @@ build_ctdb_options () { maybe_set "--no-lmaster" "$CTDB_CAPABILITY_LMASTER" "no" maybe_set "--lvs --single-public-ip" "$CTDB_LVS_PUBLIC_IP" maybe_set "--script-log-level" "$CTDB_SCRIPT_LOG_LEVEL" + maybe_set "--syslog" "$CTDB_SYSLOG" "yes" } check_persistent_databases () { |