Silvan Calarco
6b2afa2e1b
organize %{datadir}/seafile and add requirements to make server basically work [release 3.1.4-3mamba;Sat Aug 09 2014]
16 lines
364 B
Desktop File
16 lines
364 B
Desktop File
[Unit]
|
|
Description=Seafile
|
|
# add mysql.service or postgresql.service depending on your database to the line below
|
|
After=network.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
|