Files
seafile-mirror/examples/seaf-daemon.service

19 lines
399 B
SYSTEMD
Raw Normal View History

2023-05-26 11:04:12 +02:00
[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