wip: documentation
This commit is contained in:
18
examples/seaf-daemon.service
Executable file
18
examples/seaf-daemon.service
Executable 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
|
||||
18
examples/seafile_mirror.conf.yaml
Normal file
18
examples/seafile_mirror.conf.yaml
Normal 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
|
||||
Reference in New Issue
Block a user