cloudreve地址
启动cloudreve文件生成配置信息。
注册服务
位置:/usr/lib/systemd/system/cloudreve.service
[Unit]Description=Cloudrevedocumentation=https://docs.cloudreve.orgAfter=network.targetWants=network.target[Service]Type=simpleWorkingDirectory=/root/.cloudreveExecStart=/root/.cloudreve/cloudreveRestart=on-abnormalRestartSec=5sKillMode=mixedStandardOutput=nullStandardError=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