更新 HTTP文件服务搭建

X 2025-04-21 13:33:10 +00:00
parent 73d696eb34
commit 59bfe20b9c

@ -59,7 +59,7 @@ rule.w=
rule.d=
```
- 新建一个系统服务vim /etc/systemd/system/hfs.service
- 新建一个系统服务vim /etc/systemd/system/chfs.service
```
[Unit]
Description=HTTP File Server
@ -74,5 +74,11 @@ Restart=always
WantedBy=multi-user.target
```
- 启动服务、设置开机自启动
```
systemctl daemon-reload
systemctl start chfs
systemctl enable chfs
```
# 三、 访问和挂载