diff --git a/build.sh b/build.sh index d46f512..c6f6d96 100644 --- a/build.sh +++ b/build.sh @@ -30,7 +30,6 @@ mv ${app_name}.service /etc/systemd/system/${app_name}.service # 重新加载 systemd 配置文件 systemctl daemon-reload +# 重新启动应用程序服务 systemctl stop ${app_name}.service - -# 启动应用程序服务 systemctl start ${app_name}.service \ No newline at end of file