Merge remote-tracking branch 'origin/main'

This commit is contained in:
Gordon 2021-05-31 10:04:08 +08:00
commit 91243e991b
3 changed files with 10 additions and 2 deletions

View File

@ -1 +0,0 @@
# Open-IM-Server/bin

View File

@ -1 +0,0 @@
# Open-IM-Server/logs

View File

@ -4,6 +4,16 @@ source ./style_info.cfg
source ./path_info.cfg
source ./function.sh
bin_dir="../bin"
logs_dir="../logs"
#Automatically created when there is no bin, logs folder
if [ ! -d $bin_dir ]; then
mkdir -p $bin_dir
fi
if [ ! -d $logs_dir ]; then
mkdir -p $logs_dir
fi
#begin path
begin_path=$PWD