configs/raspbi3/etc/systemd/system/seafile.service
2025-01-14 10:10:15 +01:00

15 lines
361 B
Desktop File

[Unit]
Description=Seafile
#add mysql.service or postgresql.service depending on your database to the line below
After=network.target mysql.service
[Service]
Type=forking
ExecStart=/home/seafile/seafile-server-latest/seafile.sh start
ExecStop=/home/seafile/seafile-server-latest/seafile.sh stop
User=seafile
Group=seafile
[Install]
WantedBy=multi-user.target