全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 871|回复: 1

[Windows VPS] 请教cloudreve进程守护的问题

[复制链接]
发表于 2021-1-30 13:29:08 | 显示全部楼层 |阅读模式
在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:52 | 显示全部楼层
本帖最后由 孫笑川 于 2021-1-30 13:35 编辑

是不是手动启动后没关闭?
试试重启vps后直接使用Systemd
————————————————
我用的是supervisor
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-5-5 21:01 , Processed in 0.062819 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表