linux shell 运行程序带参数sh

180it 2021-04-25 PM 1292℃ 0条
#!/bin/sh
#Project1 为进程名
ps -fe|grep Project1 |grep -v grep
if [ $? -ne 0 ]
then
echo "start process....."

NAME=Project1
CONFIGFILE=xxxxx.cn 55a3a6ea31d212ac7b0a76536405f5ed 5
NGINX_BIN=/cmd/$NAME
$NGINX_BIN -c $CONFIGFILE

else
echo "runing....."
fi
支付宝打赏支付宝打赏 微信打赏微信打赏

如果文章或资源对您有帮助,欢迎打赏作者。一路走来,感谢有您!

标签: none

linux shell 运行程序带参数sh