其他分享
首页 > 其他分享> > cloudreve 搭建自己是网盘

cloudreve 搭建自己是网盘

作者:互联网

cloudreve地址

启动cloudreve文件生成配置信息。

注册服务
位置:/usr/lib/systemd/system/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
# 更新配置
systemctl daemon-reload

# 启动服务
systemctl start cloudreve

# 设置开机启动
systemctl enable cloudreve



# 启动服务
systemctl start cloudreve

# 停止服务
systemctl stop cloudreve

# 重启服务
systemctl restart cloudreve

# 查看状态
systemctl status cloudreve

标签:服务,target,启动,网盘,start,systemctl,cloudreve,搭建
来源: https://blog.csdn.net/qq_35418859/article/details/122800492