16 lines
354 B
SYSTEMD
16 lines
354 B
SYSTEMD
|
[Unit]
|
||
|
Description=Seafile hub
|
||
|
After=network.target seafile.service
|
||
|
|
||
|
[Service]
|
||
|
# change start to start-fastcgi if you want to run fastcgi
|
||
|
ExecStart=/usr/share/seafile/seafile-server/seahub.sh start
|
||
|
ExecStop=/usr/share/seafile/seafile-server/seahub.sh stop
|
||
|
User=seafile
|
||
|
Group=seafile
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=yes
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|