|
@@ -8,7 +8,7 @@ base_dir=$(
|
|
pwd
|
|
pwd
|
|
)
|
|
)
|
|
cd $base_dir
|
|
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
|
|
if [[ $server_pid == "" ]]; then
|
|
echo "minio-into-stck 未在运行"
|
|
echo "minio-into-stck 未在运行"
|
|
else
|
|
else
|