1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/ctdb/config/README
Martin Schwenke 71e9016ec2 Scripts: add note about not using absolute command paths to README.
Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 87e6a4a23a6ae6c276e9628ce513663f47b4ee77)
2011-08-09 16:36:37 +10:00

38 lines
998 B
Plaintext

This directory contains run-time support scripts for CTDB.
Selected highlights:
ctdb.init
An initscript for starting ctdbd at boot time.
events.d/
Eventscripts. See events.d/README for more details.
functions
Support functions, sourced by eventscripts and other scripts.
interface_modify.sh
Script to support add/remove IPs and other funky stuff. Not sure
why this is separate... but it certainly allows easy wrapping by
flock.
statd-callout
rpc.statd high-availability callout to support lock migration on
failover.
Notes:
* All of these scripts are written in POSIX Bourne shell. Please
avoid bash-isms, including the use of "local" variables (which are
not available in POSIX shell).
* Do not use absolute paths for commands. Unit tests attempt to
replace many commands with stubs and can not do this if commands are
specified with absolute paths. The functions file controls $PATH so
absolute paths should not be required.