ctdbd="${CTDBD:-/usr/sbin/ctdbd}"
ctdbd_wrapper="${CTDBD_WRAPPER:-/usr/sbin/ctdbd_wrapper}"
-pidfile="${CTDB_PIDFILE:-/var/run/ctdb/ctdbd.pid}"
+pidfile="/var/run/ctdb/ctdbd.pid"
############################################################
maybe_set "--reclock" "$CTDB_RECOVERY_LOCK"
# build up ctdb_options variable from optional parameters
- maybe_set "--pidfile" "$CTDB_PIDFILE"
maybe_set "--logging" "$CTDB_LOGGING"
maybe_set "--nlist" "$CTDB_NODES"
maybe_set "--socket" "$CTDB_SOCKET"
</refsect1>
- <refsect1>
- <title>
- INITSCRIPT CONFIGURATION
- </title>
-
- <para>
- Some options must be available to the initscript so they need to
- be set in the distribution-specific initscript configuration,
- such as <filename>/etc/sysconfig/ctdb</filename> or
- <filename>/etc/default/ctdb</filename>.
- </para>
-
- <variablelist>
-
- <varlistentry>
- <term>CTDB_PIDFILE=<parameter>FILENAME</parameter></term>
- <listitem>
- <para>
- FILENAME is the name of the file used to contain the
- process ID (PID) of the main CTDB daemon when it is
- running. This is passed from the initscript to
- <citerefentry><refentrytitle>ctdbd_wrapper</refentrytitle>
- <manvolnum>1</manvolnum></citerefentry>.
- </para>
-
- <para>
- Default is <filename>/usr/local/var/run/ctdb/ctdbd.pid</filename>.
- Corresponds to <option>--pidfile</option>.
- </para>
- </listitem>
- </varlistentry>
-
- </variablelist>
- </refsect1>
-
<refsect1>
<title>
GLOBAL CONFIGURATION