diff options
-rwxr-xr-x | ctdb/config/events.d/60.nfs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/config/events.d/60.nfs b/ctdb/config/events.d/60.nfs index 60de41e51a..cd5219aa57 100755 --- a/ctdb/config/events.d/60.nfs +++ b/ctdb/config/events.d/60.nfs @@ -25,6 +25,7 @@ case "$1" in ;; startup) ctdb_service_start + mkdir -p $CTDB_VARDIR/state/statd touch $CTDB_VARDIR/state/statd/update-trigger ;; @@ -107,6 +108,7 @@ case "$1" in CURRENT_TIME=`date +"%s"` expr "$CURRENT_TIME" ">" "(" "$LAST_UPDATE" "+" "60" ")" >/dev/null 2>/dev/null [ $? = "0" ] && { + mkdir -p $CTDB_VARDIR/state/statd touch $CTDB_VARDIR/state/statd/update-trigger $CTDB_BASE/statd-callout updatelocal & $CTDB_BASE/statd-callout updateremote & |