This commit is contained in:
dami
2026-04-11 19:10:59 +08:00
parent 584ac773b3
commit 5c53bb3853
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -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
+1 -1
View File
@@ -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`