2023-05-26 11:11:15 +02:00
|
|
|
# SPDX-FileCopyrightText: 2023 Max Mehl <https://mehl.mx>
|
|
|
|
|
#
|
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
2023-05-26 11:04:55 +02:00
|
|
|
[Unit]
|
|
|
|
|
Description=Seafile Daemon
|
|
|
|
|
After=network.target
|
|
|
|
|
After=nfs-client.target
|
|
|
|
|
StartLimitIntervalSec=60
|
|
|
|
|
StartLimitBurst=3
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
Type=simple
|
2025-04-03 14:57:59 +02:00
|
|
|
ExecStart=/usr/bin/seaf-daemon -c %h/.ccnet -d %h/config/seafile-data -w %h/config/seafile
|
2023-05-26 11:04:55 +02:00
|
|
|
Restart=always
|
|
|
|
|
RestartSec=10
|
|
|
|
|
# Restart every day
|
|
|
|
|
RuntimeMaxSec=1d
|
|
|
|
|
SyslogIdentifier=seaf-daemon
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=default.target
|