16 lines
442 B
Desktop File
16 lines
442 B
Desktop File
[Unit]
|
|
Description=Next-generation open source cloud storage system
|
|
# add mysql.service or postgresql.service depending on your database to the line below
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
User=seafile
|
|
WorkingDirectory=/srv/seafile/%i
|
|
ExecStart=/usr/bin/seafile-admin start --fastcgi
|
|
ExecStop=/usr/bin/seafile-admin stop
|
|
PIDFile=/srv/seafile/%i/seafile-data/pids/seaf-server.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|