------------------------------------------------------------ revno: 637 revision-id: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: Andrew Tridgell <[EMAIL PROTECTED]> branch nick: tridge timestamp: Fri 2007-09-21 16:12:04 +1000 message: make the persistent dbdir configurable modified: config/ctdb.init ctdb.init-20070527204758-biuh7znabuwan3zn-6 config/ctdb.sysconfig ctdb.sysconfig-20070527204758-biuh7znabuwan3zn-7 === modified file 'config/ctdb.init' --- a/config/ctdb.init 2007-09-14 04:14:03 +0000 +++ b/config/ctdb.init 2007-09-21 06:12:04 +0000 @@ -58,6 +58,7 @@ [ -z "$CTDB_PUBLIC_ADDRESSES" ] || CTDB_OPTIONS="$CTDB_OPTIONS --public-addresses=$CTDB_PUBLIC_ADDRESSES" [ -z "$CTDB_PUBLIC_INTERFACE" ] || CTDB_OPTIONS="$CTDB_OPTIONS --public-interface=$CTDB_PUBLIC_INTERFACE" [ -z "$CTDB_DBDIR" ] || CTDB_OPTIONS="$CTDB_OPTIONS --dbdir=$CTDB_DBDIR" +[ -z "$CTDB_DBDIR_PERSISTENT" ] || CTDB_OPTIONS="$CTDB_OPTIONS --dbdir-persistent=$CTDB_DBDIR_PERSISTENT" [ -z "$CTDB_EVENT_SCRIPT_DIR" ] || CTDB_OPTIONS="$CTDB_OPTIONS --event-script-dir $CTDB_EVENT_SCRIPT_DIR" [ -z "$CTDB_TRANSPORT" ] || CTDB_OPTIONS="$CTDB_OPTIONS --transport $CTDB_TRANSPORT" [ -z "$CTDB_DEBUGLEVEL" ] || CTDB_OPTIONS="$CTDB_OPTIONS -d $CTDB_DEBUGLEVEL"
=== modified file 'config/ctdb.sysconfig' --- a/config/ctdb.sysconfig 2007-09-13 04:28:18 +0000 +++ b/config/ctdb.sysconfig 2007-09-21 06:12:04 +0000 @@ -40,6 +40,10 @@ # defaults to /var/ctdb # CTDB_DBDIR=/var/ctdb +# the directory to put the local persistent ctdb database files in +# defaults to /var/ctdb/persistent +# CTDB_DBDIR_PERSISTENT=/var/ctdb/persistent + # the directory where service specific event scripts are stored # defaults to /etc/ctdb/events.d # CTDB_EVENT_SCRIPT_DIR=/etc/ctdb/events.d
