摘要: check_mysql.sh #!/bin/bash HOST='127.0.0.1' PORT='3306' CONN="mysqladmin -h ${HOST} -P ${PORT}" if [ $# -ne "1" ]; then echo "arg error!" fi case $1 i 阅读全文
posted @ 2021-01-28 21:29 那就这样吧~ 阅读(66) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh # # nginx - this script starts and stops the nginx daemon # # chkconfig: - 85 15 # description: NGINX is an HTTP(S) server, HTTP(S) reverse 阅读全文
posted @ 2021-01-28 21:26 那就这样吧~ 阅读(98) 评论(0) 推荐(0) 编辑