全球主机交流论坛

标题: 请教cloudreve进程守护的问题 [打印本页]

作者: ccqnb    时间: 2021-1-30 13:29
标题: 请教cloudreve进程守护的问题
在vps上搭建了一个cloudreve网盘,直接启动没有任何问题,但是在使用Systemd设置进程守护时,cloudreve.service始终无法启动,配置都是按照教程操作的,路径这些也没错,特此请教。我的系统是centos 8

cloudreve.service的内容如下

[Unit]
Description=Cloudreve
Documentation=https://docs.cloudreve.org
After=network.target
Wants=network.target
[Service]
Type=simple
WorkingDirectory=/root/cloudreve
ExecStart=/root/cloudreve/cloudreve
Restart=on-abnormal
RestartSec=5s
KillMode=mixed

StandardOutput=null
StandardError=syslog

[Install]
WantedBy=multi-user.target
作者: 孫笑川    时间: 2021-1-30 13:30
本帖最后由 孫笑川 于 2021-1-30 13:35 编辑

是不是手动启动后没关闭?
试试重启vps后直接使用Systemd
————————————————
我用的是supervisor




欢迎光临 全球主机交流论坛 (https://91ai.net/) Powered by Discuz! X3.4