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:
parent
b718e37987
commit
e12f941bfe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user