From 7a07f60a45068fcb946b1ec3c7453c6ce7700f70 Mon Sep 17 00:00:00 2001 From: skywalker Date: Mon, 17 Jun 2024 11:38:04 +0800 Subject: [PATCH] export CLUSTER_MODE=backend --- manual/deploy_pro/deploy_in_a_cluster.md | 10 ++++++++++ .../enable_search_and_background_tasks_in_a_cluster.md | 1 + 2 files changed, 11 insertions(+) diff --git a/manual/deploy_pro/deploy_in_a_cluster.md b/manual/deploy_pro/deploy_in_a_cluster.md index c92c6759..09a0f42b 100644 --- a/manual/deploy_pro/deploy_in_a_cluster.md +++ b/manual/deploy_pro/deploy_in_a_cluster.md @@ -237,6 +237,16 @@ Supposed your Seafile installation directory is `/data/haiwen`, compress this wh On each node, run `./seafile.sh` and `./seahub.sh` to start Seafile server. +### back-end node + +In the back-end node, you need to execute the following command to start Seafile server. **CLUSTER_MODE=backend** means this node is seafile backend server. + +```bash +export CLUSTER_MODE=backend +./seafile.sh start +./seafile-background-tasks.sh start + +``` ## Start Seafile Service on boot diff --git a/manual/deploy_pro/enable_search_and_background_tasks_in_a_cluster.md b/manual/deploy_pro/enable_search_and_background_tasks_in_a_cluster.md index eca88c8a..d08045a8 100644 --- a/manual/deploy_pro/enable_search_and_background_tasks_in_a_cluster.md +++ b/manual/deploy_pro/enable_search_and_background_tasks_in_a_cluster.md @@ -217,6 +217,7 @@ OFFICE_CONVERTOR_ROOT = 'http://' Type the following commands to start the background node (Note, one additional command `seafile-background-tasks.sh` is needed) ```shell +export CLUSTER_MODE=backend ./seafile.sh start ./seafile-background-tasks.sh start