10 lines
203 B
Plaintext
10 lines
203 B
Plaintext
|
# Set the action when the node changes to BACKUP state.
|
||
|
to_backup() {
|
||
|
logger "changed to backup"
|
||
|
}
|
||
|
|
||
|
# Set the action when the node changes to MASTER state.
|
||
|
to_master() {
|
||
|
logger "changed to master"
|
||
|
}
|