[fix]修改文件同步服务的默认查找路径

This commit is contained in:
liang-ys 2026-04-29 12:01:45 +08:00
parent cd5f931fb6
commit 9ebfdad5cb

View File

@ -5,7 +5,7 @@ set -e
#注册 sys_file_service 到 systemd #注册 sys_file_service 到 systemd
SERVICE_NAME="sys_file_service" SERVICE_NAME="sys_file_service"
SERVICE_FILE="/etc/systemd/system/${SERVICE_NAME}.service" SERVICE_FILE="/etc/systemd/system/${SERVICE_NAME}.service"
script_path="/opt/EnergyHub/installer" script_path="/opt/HMEnergy/installer"
install_service() { install_service() {
echo "INFO开始注册 ${SERVICE_NAME} 到 systemd..." echo "INFO开始注册 ${SERVICE_NAME} 到 systemd..."