1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-28 03:10:45 +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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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