Merge pull request #303 from haiwen/cluster-seafile.conf
Some checks are pending
Deploy CI / deploy (push) Waiting to run

cluster seafile.conf
This commit is contained in:
Daniel Pan 2024-06-17 15:04:12 +08:00 committed by GitHub
commit 1119e67b01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -217,6 +217,7 @@ OFFICE_CONVERTOR_ROOT = 'http://<ip of office preview docker service>'
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