initial commit
This commit is contained in:
18
templates/seaf-daemon.service.j2
Executable file
18
templates/seaf-daemon.service.j2
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 {{ seafile_local_user_info.home }}/.ccnet -d {{ seafile_local_user_info.home }}/config/seafile-data -w {{ seafile_local_user_info.home }}/config/seafile
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
# Restart every day
|
||||
RuntimeMaxSec=1d
|
||||
SyslogIdentifier=seaf-daemon
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
1
templates/seafile_mirror.conf.yaml.j2
Executable file
1
templates/seafile_mirror.conf.yaml.j2
Executable file
@@ -0,0 +1 @@
|
||||
{{seafile_syncs|to_yaml(sort_keys=False)}}
|
||||
Reference in New Issue
Block a user