deploy.sh: - 修复重复的 header 注释行 lib/common.sh: - view_logs/tail_logs/status: 从日志文件切换为 journalctl(上次改 日志输出到 stdout 后,日志文件已不存在) - init_env 模板: User=root → User=rust-backend(匹配最小权限原则) lib/test.sh: - test_notify_url_domain: 添加自定义 Host 头(TEST_DOMAIN),模拟 真实外部请求场景。之前测试走 127.0.0.1 直连,Host 头为 localhost 导致 notify_url 校验永远通过但实际配置可能是错误的
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
# ===========================================
|
||||
# Rust Backend Deployment Script
|
||||
# ===========================================
|
||||
# Rust Backend Deployment Script
|
||||
# ===========================================
|
||||
# Usage: ./deploy.sh [development|production] [options]
|
||||
#
|
||||
# Options:
|
||||
|
||||
Reference in New Issue
Block a user