mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 10:26:17 +00:00
seafile-monitor CLUSTER_MODE (#6209)
* seafile-monitor CLUSTER_MODE * CLUSTER_MODE in env
This commit is contained in:
@@ -112,7 +112,11 @@ log "Start Monitor"
|
|||||||
|
|
||||||
while [ 1 ]; do
|
while [ 1 ]; do
|
||||||
|
|
||||||
|
if [ $CLUSTER_MODE ] && [ $CLUSTER_MODE = "backend" ]; then
|
||||||
|
:
|
||||||
|
else
|
||||||
monitor_seafevents
|
monitor_seafevents
|
||||||
|
fi
|
||||||
|
|
||||||
if [ $ENABLE_NOTIFICATION_SERVER ] && [ $ENABLE_NOTIFICATION_SERVER = "true" ]; then
|
if [ $ENABLE_NOTIFICATION_SERVER ] && [ $ENABLE_NOTIFICATION_SERVER = "true" ]; then
|
||||||
monitor_notification_server
|
monitor_notification_server
|
||||||
|
Reference in New Issue
Block a user