wip: documentation

This commit is contained in:
2023-05-26 11:04:12 +02:00
parent 4eedc518db
commit 64c137a484
4 changed files with 99 additions and 1 deletions

18
examples/seaf-daemon.service Executable file
View File

@@ -0,0 +1,18 @@
[Unit]
Description=Seafile Daemon
After=network.target
After=nfs-client.target
StartLimitIntervalSec=60
StartLimitBurst=3
[Service]
Type=simple
ExecStart=/usr/bin/seaf-daemon -c /home/seafile/.ccnet -d /home/seafile/config/seafile-data -w /home/seafile/config/seafile
Restart=always
RestartSec=10
# Restart every day
RuntimeMaxSec=1d
SyslogIdentifier=seaf-daemon
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,18 @@
# Example configuration file for seafile-mirror
- server: https://my-seafile-server.tld
user: user@example.com
password: mysecretpassword
# The default resync interval
resync_interval_days: 7
# Define the libraries which shall be synced
libs:
- name: Documents
# ID of the Seafile library (can be seen in the web UI)
id: 53976f13-9d24-4d4a-967b-efb598d542ea
# local directory where the mirror shall be created
dir: /backup/Documents
- name: Pictures
id: 12346f13-9d24-4d4a-1234-efb598d555fa
dir: /backup/Pictures
# A library-specific resync interval
resync_interval_days: 31