1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] Description=The web frontend for seafile server. After=seafile-server@.service [Service] Type=forking ExecStart=/srv/seafile/%i/seafile-server/seahub.sh start ExecStop=/srv/seafile/%i/seafile-server/seahub.sh stop User=seafile Group=seafile [Install] WantedBy=multi-user.target