1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 16:36:15 +00:00

seafile-monitor CLUSTER_MODE (#6209)

* seafile-monitor CLUSTER_MODE

* CLUSTER_MODE in env
This commit is contained in:
欢乐马
2024-06-17 15:03:24 +08:00
committed by GitHub
parent b718e37987
commit e12f941bfe

View File

@@ -112,7 +112,11 @@ log "Start Monitor"
while [ 1 ]; do
monitor_seafevents
if [ $CLUSTER_MODE ] && [ $CLUSTER_MODE = "backend" ]; then
:
else
monitor_seafevents
fi
if [ $ENABLE_NOTIFICATION_SERVER ] && [ $ENABLE_NOTIFICATION_SERVER = "true" ]; then
monitor_notification_server