| 1 |
This directory contains run-time support scripts for CTDB. |
| 2 |
|
| 3 |
Selected highlights: |
| 4 |
|
| 5 |
ctdb.init |
| 6 |
|
| 7 |
An initscript for starting ctdbd at boot time. |
| 8 |
|
| 9 |
events/ |
| 10 |
|
| 11 |
Eventscripts. See events/README for more details. |
| 12 |
|
| 13 |
functions |
| 14 |
|
| 15 |
Support functions, sourced by eventscripts and other scripts. |
| 16 |
|
| 17 |
Notes: |
| 18 |
|
| 19 |
* All of these scripts are written in POSIX Bourne shell. Please |
| 20 |
avoid bash-isms, including the use of "local" variables (which are |
| 21 |
not available in POSIX shell). |
| 22 |
|
| 23 |
* Do not use absolute paths for commands. Unit tests attempt to |
| 24 |
replace many commands with stubs and can not do this if commands are |
| 25 |
specified with absolute paths. The functions file controls $PATH so |
| 26 |
absolute paths should not be required. |