use home dir directly

This commit is contained in:
2025-04-03 14:57:59 +02:00
parent f96e9dbecd
commit fe0b002258
2 changed files with 5 additions and 10 deletions

22
files/seaf-daemon.service Executable file
View File

@@ -0,0 +1,22 @@
# SPDX-FileCopyrightText: 2023 Max Mehl <https://mehl.mx>
#
# SPDX-License-Identifier: Apache-2.0
[Unit]
Description=Seafile Daemon
After=network.target
After=nfs-client.target
StartLimitIntervalSec=60
StartLimitBurst=3
[Service]
Type=simple
ExecStart=/usr/bin/seaf-daemon -c %h/.ccnet -d %h/config/seafile-data -w %h/config/seafile
Restart=always
RestartSec=10
# Restart every day
RuntimeMaxSec=1d
SyslogIdentifier=seaf-daemon
[Install]
WantedBy=default.target