Update start.sh

给启动程序添加可执行权限。
This commit is contained in:
wanhebin 2023-04-14 11:31:44 +08:00 committed by GitHub
parent 9c0b0b17e6
commit 47994382ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,9 @@
# 获取脚本工作目录绝对路径 # 获取脚本工作目录绝对路径
Server_Dir=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd) Server_Dir=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
# 给二进制启动程序添加可执行权限
chmod +x $Server_Dir/bin/*
# 加载.env变量文件 # 加载.env变量文件
source $Server_Dir/.env source $Server_Dir/.env