eddy 8a8832e4c9 feat: 新增 frpc2.sh,用于安装独立的第二个 frpc 实例
- 新增 SERVICE_NAME=frpc2,安装到 /root/data/docker_data/frpc2,
  可与现有 frpc(Docker 或 systemd)同时运行而不冲突
- systemd 服务文件及所有 systemctl/journalctl 调用统一使用 ${SERVICE_NAME}
- 启动前提示编辑 frpc.toml,并提醒代理名、远程端口不能与其它实例重复
- 安装时使用 systemctl restart,确保修改后的配置生效
- 卸载时若仍存在其它 frpc*.service,则保留共享的 frp 用户
- 优先用 setfacl 为 frp 用户授予目录访问权限,失败时回退到 chmod 755
- 修复 set -e 导致菜单意外退出:systemctl/cat 调用加保护,
  取消卸载后返回菜单,查看日志时 Ctrl+C 只结束日志而不退出脚本
2026-10-27 16:33:34 +08:00
123
2025-11-13 12:16:48 +08:00
2025-11-13 11:43:54 +08:00
2025-11-06 20:40:12 +08:00
2025-11-06 20:40:12 +08:00
2026-06-17 13:47:33 +08:00
1
2025-11-13 00:54:10 +08:00

vps脚本

  • v2raya.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/script/raw/branch/main/v2raya.sh)
  • vps_init.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/script/raw/branch/main/vps_init.sh)
  • frpc.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/script/raw/branch/main/frpc.sh)
  • xray-manager.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/script/raw/branch/main/xray-manager.sh)
  • ss2022-manager.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/script/raw/branch/main/ss2022-manager.sh)
  • ddns-go.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/script/raw/branch/main/ddns-go.sh)
S
Description
No description provided
Readme
110 MiB
Languages
Shell 100%