1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] Description=Seafile Server Core. After=network.target [Service] Type=forking ExecStart=/srv/seafile/%i/seafile-server/seafile.sh start ExecStop=/srv/seafile/%i/seafile-server/seafile.sh stop User=seafile Group=seafile [Install] WantedBy=multi-user.target