随笔分类 -  nginx

摘要:php启动脚本 #开机启动脚本,脚本代码来自网络,实测有效 #! /bin/sh # Comments to support chkconfig on CentOS set -e PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/us 阅读全文
posted @ 2018-07-28 18:10 liuyp99999 阅读(828) 评论(0) 推荐(0)
摘要:Restarting nginxd (via systemctl): Warning: nginxd.service changed on disk. Run 'systemctl daemon-reload' to reload units. Job for nginxd.service fail 阅读全文
posted @ 2018-07-28 15:38 liuyp99999 阅读(1941) 评论(0) 推荐(1)
摘要:vim /root/runscript/cut_nginx_log.sh #!/bin/bash# nginx日志切割脚本# This script run at 00:00logs_path="/usr/local/nginx/logs/"target_path="/usr/local/nginx 阅读全文
posted @ 2018-07-19 14:10 liuyp99999 阅读(168) 评论(0) 推荐(0)