- 新增日志中心功能 (api/logapi.go + Logs.vue) - 新增GRE协议服务支持 (service/gre/) - 新增流量监控组件 (TrafficChart.vue) - 新增L2TP/IPSec测试用例 - 新增日志轮转服务 (logrotate.go) - 新增部署脚本 (scripts/install.sh, uninstall.sh, service文件) - 更新i18n国际化文件 - 优化后端API和前端路由
20 lines
397 B
Desktop File
20 lines
397 B
Desktop File
[Unit]
|
|
Description=OPSX VPN Management Platform
|
|
Documentation=https://github.com/opsx-vpn/opsx-vpn
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/opt/opsx-vpn
|
|
ExecStart=/opt/opsx-vpn/opsx-vpn
|
|
EnvironmentFile=-/etc/opsx-vpn/env
|
|
Restart=always
|
|
RestartSec=5
|
|
LimitNOFILE=65536
|
|
# VPN 管理需要 iptables 和网络访问权限
|
|
User=root
|
|
Group=root
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|