summaryrefslogtreecommitdiffstats
path: root/ctdb/config
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2009-07-09 11:57:20 +1000
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2009-07-09 11:57:20 +1000
commit66c8d4fb3dbd68f3db4ef542bddf1062da2373e7 (patch)
tree0f7fbb3caceeace5759fe1b44c3506f1b42c4069 /ctdb/config
parentd6a5fd5c9d6c7ef43308e7b79e79f200abcf72f1 (diff)
downloadsamba-66c8d4fb3dbd68f3db4ef542bddf1062da2373e7.tar.gz
samba-66c8d4fb3dbd68f3db4ef542bddf1062da2373e7.tar.xz
samba-66c8d4fb3dbd68f3db4ef542bddf1062da2373e7.zip
make it possible to start the daemon in STOPPED mode
(This used to be ctdb commit 866aa995dc029db6e510060e9e95a8ca149094ac)
Diffstat (limited to 'ctdb/config')
-rwxr-xr-xctdb/config/ctdb.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/config/ctdb.init b/ctdb/config/ctdb.init
index 95e8ccc5c6..d69b01c47d 100755
--- a/ctdb/config/ctdb.init
+++ b/ctdb/config/ctdb.init
@@ -102,6 +102,7 @@ build_ctdb_options () {
maybe_set "-d" "$CTDB_DEBUGLEVEL"
maybe_set "--notification-script" "$CTDB_NOTIFY_SCRIPT"
maybe_set "--start-as-disabled" "$CTDB_START_AS_DISABLED" "yes"
+ maybe_set "--start-as-stopped " "$CTDB_START_AS_STOPPED" "yes"
maybe_set "--no-recmaster" "$CTDB_CAPABILITY_RECMASTER" "no"
maybe_set "--no-lmaster" "$CTDB_CAPABILITY_LMASTER" "no"
maybe_set "--lvs --single-public-ip" "$CTDB_LVS_PUBLIC_IP"