37 lines
635 B
Markdown
Raw Normal View History

2026-01-31 11:06:47 +08:00
# server
2026-01-29 22:58:28 +08:00
2026-01-31 11:06:47 +08:00
**编辑 `bore.service` 文件:**
```bash
vi /etc/systemd/system/bore.service
```
```bash
nano /etc/systemd/system/bore.service
```
2026-01-29 22:58:28 +08:00
2026-01-31 11:06:47 +08:00
4. **重新加载 `systemd` 配置:**
```bash
sudo systemctl daemon-reload
```
2026-01-29 22:58:28 +08:00
2026-01-31 11:06:47 +08:00
5. **重启 `bore` 服务:**
```bash
sudo systemctl restart bore
```
2026-01-29 22:58:28 +08:00
2026-01-31 11:06:47 +08:00
6. **检查服务状态和日志:**
```bash
sudo systemctl status bore
sudo journalctl -u bore -f
```
2026-01-29 22:58:28 +08:00
2026-01-31 11:06:47 +08:00
7. **停止服务:**
```bash
sudo systemctl stop bore
```
2026-01-29 22:58:28 +08:00
2026-01-31 11:06:47 +08:00
# local
2026-01-29 22:58:28 +08:00
2026-01-31 11:06:47 +08:00
bore local 11434 --to 60.205.246.14 --port 6005 --secret my_secret_key