fix: ensure .sh scripts are LF in repo, add README note for bash\\r

Made-with: Cursor
This commit is contained in:
whm
2026-03-17 01:49:29 +08:00
parent a0df3a8a41
commit 826617d737
3 changed files with 8 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bash
# 仅重启项目(不拉代码),适用于配置/环境变更后重启
# 行尾LF.gitattributes
# 用法cd /home/yxd/project/yh_web && ./restart.sh
# 或PROJECT_ROOT=/home/yxd/project/yh_web ./restart.sh
set -e