天一说道:
touch /var/lock/subsys/local
/home/MyCloud/seafile-server/seafile.sh start
/home/MyCloud/seafile-server/seahub.sh start
/home/MyCloud/seafile-server/seafile.sh start
/home/MyCloud/seafile-server/seahub.sh start
可能不是自启动的问题 systemctl start seahub都会报错 报错信息如下
Loaded: loaded (/etc/systemd/system/seahub.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2018-05-30 10:49:52 CST; 1min 43s ago
Process: 1685 ExecStart=/home/MyCloud/seafile-server/seahub.sh start (code=exited, status=217/USER)
Main PID: 1685 (code=exited, status=217/USER)
centos-01 systemd[1]: Starting Seafile hub…
centos-01 systemd[1]: seahub.service: main process exited, code=exited, status=217/USER
centos-s-1vcpu-1gb-sgp1-01 systemd[1]: Failed to start Seafile hub.
centos-01 systemd[1]: Unit seahub.service entered failed state.
centos-1-01 systemd[1]: seahub.service failed.