From 5c53bb38533cc15a0ea444365af264003ec2d9ca Mon Sep 17 00:00:00 2001 From: dami Date: Sat, 11 Apr 2026 19:10:59 +0800 Subject: [PATCH] up --- plugins/apache/init.d/httpd.tpl | 5 ++--- plugins/apache/install.sh | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/apache/init.d/httpd.tpl b/plugins/apache/init.d/httpd.tpl index e248690e5..232843809 100644 --- a/plugins/apache/init.d/httpd.tpl +++ b/plugins/apache/init.d/httpd.tpl @@ -13,11 +13,10 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/homebrew/bin -NAME=apache # Apache 可执行文件的路径 -DAEMON={$SERVER_PATH}/httpd/bin/httpd +DAEMON={$SERVER_PATH}/apache/httpd/bin/httpd # 进程的 PID 文件路径 -PIDFILE={$SERVER_PATH}/httpd/logs/httpd.pid +PIDFILE={$SERVER_PATH}/apache/httpd/logs/httpd.pid # 根据传入的参数执行不同操作 case "$1" in diff --git a/plugins/apache/install.sh b/plugins/apache/install.sh index 9a3105d3f..461e93fe0 100755 --- a/plugins/apache/install.sh +++ b/plugins/apache/install.sh @@ -13,7 +13,7 @@ export PATH # apt install ncat -y # nc -u -v www.xx.com 443 -# cd /www/server/mdserver-web && python3 plugins/apache/index.py run_info +# cd /www/server/mdserver-web && python3 plugins/apache/index.py start # cd /www/server/mdserver-web && python3 plugins/apache/index.py run_info curPath=`pwd`