fix formatting

This commit is contained in:
2023-06-09 10:18:14 +02:00
parent 721d96101f
commit 22f5c05d92

View File

@@ -42,7 +42,8 @@ Seafile servers!
The tool depends on the following applications: The tool depends on the following applications:
* `Python 3` and its library `yaml` * `Python 3` and its library `yaml`
* [`seafile-cli`](https://help.seafile.com/syncing_client/linux-cli/), available e.g. in [Debian](https://packages.debian.org/bullseye/seafile-cli) * [`seafile-cli`](https://help.seafile.com/syncing_client/linux-cli/), available
e.g. in [Debian](https://packages.debian.org/bullseye/seafile-cli)
You can execute the tool with `python3 seafile_mirror.py`. The `--help` flag You can execute the tool with `python3 seafile_mirror.py`. The `--help` flag
informs you about the required and available commands. informs you about the required and available commands.
@@ -51,13 +52,17 @@ There is also an [Ansible
role](https://src.mehl.mx/mxmehl/seafile-mirror-ansible) that takes care of role](https://src.mehl.mx/mxmehl/seafile-mirror-ansible) that takes care of
installing the tool, setting up a systemd service, and running it daily. installing the tool, setting up a systemd service, and running it daily.
To keep the Seafile daemon that is required for `seafile-cli` running in the background, check out this [exemplary systemd service](examples/seaf-daemon.service). To keep the Seafile daemon that is required for `seafile-cli` running in the
background, check out this [exemplary systemd
service](examples/seaf-daemon.service).
## Configuration ## Configuration
Configuration is done in a YAML file called `seafile_mirror.conf.yaml`. You can find an example [here](examples/seafile_mirror.conf.yaml). Configuration is done in a YAML file called `seafile_mirror.conf.yaml`. You can
find an example [here](examples/seafile_mirror.conf.yaml).
If that configuration file resides in the same location as the `seafile_mirror.py` file you are running, you should provide `--configdir ./`. If that configuration file resides in the same location as the
`seafile_mirror.py` file you are running, you should provide `--configdir ./`.
## Logging and caching ## Logging and caching