Files
root 8d78e18267 Initial commit: X-Server Mobile enterprise tool system
- Frontend: React 18 + TypeScript + Vite + Ant Design Mobile
- Backend: PHP 8.5 + Webman 2.x + MySQL + Redis
- i18n support: Chinese, English, Russian, Spanish, French
- Approval workflow engine
- Docker development environment
- Feishu integration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 17:57:25 +08:00

50 lines
1.1 KiB
Desktop File

[Unit]
Description=FRP Client for X-Server Development
After=network.target
[Service]
Type=simple
User=YOUR_USERNAME
Group=YOUR_GROUP
WorkingDirectory=/path/to/x-server-mobile/frpc
ExecStart=/usr/local/bin/frpc -c /path/to/x-server-mobile/frpc/frpc-dev.ini
Restart=on-failure
RestartSec=5s
# 日志
StandardOutput=journal
StandardError=journal
SyslogIdentifier=frpc-dev
[Install]
WantedBy=multi-user.target
# ========================================
# 安装说明
# ========================================
#
# 1. 修改以下配置:
# - User: 你的用户名
# - Group: 你的组名
# - WorkingDirectory: 项目 frpc 目录的绝对路径
# - ExecStart: frpc-dev.ini 的绝对路径
#
# 2. 安装服务:
# sudo cp frpc-dev.service /etc/systemd/system/
# sudo systemctl daemon-reload
#
# 3. 启用并启动服务:
# sudo systemctl enable frpc-dev
# sudo systemctl start frpc-dev
#
# 4. 查看状态:
# sudo systemctl status frpc-dev
#
# 5. 查看日志:
# sudo journalctl -u frpc-dev -f
#
# 6. 停止服务:
# sudo systemctl stop frpc-dev
#
# 注意: 生产环境不应该使用 frpc,只在开发调试时使用