@@ -72,5 +72,4 @@ else
fi
log_file="minio-into-stck_$(date "+%Y-%m-%d-%H:%M:%S").log"
./minio-into-stck server --config-file=$base_dir/config/config.xml &> "${log_path}${log_file}" &
- ./status.sh
@@ -8,7 +8,7 @@ base_dir=$(
pwd
)
cd $base_dir
-server_pid=$(ps -auxc | grep minio-into-stck | grep -vE "grep|-Xmx700m" | awk '{print $2}')
+server_pid=$(pgrep -x minio-into-stck)
if [[ $server_pid == "" ]]; then
echo "minio-into-stck 未在运行"
else