seafile/seafile-seafile.service

16 lines
377 B
Desktop File

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