linux/conf/systemd/seahub.service

15 lines
313 B
INI

[Unit]
Description=Seahub
After=network.target seafile.service
Requires=seafile.service
[Service]
ExecStart=/data/seafile/app/seafile-server-latest/seahub.sh start
ExecStop=/data/seafile/app/seafile-server-latest/seahub.sh stop
Type=oneshot
User=seafile
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target