解决方式:
修改 /etc/profile 中
ps -ef |grep SecoClientPromoteService |grep -v grep
if [ $? -ne 0 ]
then
sh /etc/init.d/SecoClientPromoteService.sh start
fi
sh 为 bash
ps -ef |grep SecoClientPromoteService |grep -v grep
if [ $? -ne 0 ]
then
bash /etc/init.d/SecoClientPromoteService.sh start
fi
网友评论