摘要: #!/bin/bash # source /etc/profile # 根据参数,执行进程的启动 停止 重启等 # 非apache用户运行脚本,则退出 if [ `whoami` != "apache" ];then echo " only apache can run me" exit 1 fi 阅读全文
posted @ 2020-09-11 16:23 reblue520 阅读(346) 评论(0) 推荐(0)