2024-01-05 17:43:08 +01:00
|
|
|
[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
|
2024-01-05 17:43:08 +01:00
|
|
|
WorkingDirectory=/usr/share/seafile
|
2024-01-05 17:43:08 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|