15 lines
361 B
Desktop File
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
|