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