From 12fd04b296c1fe8b7a769d86471bf5b80268536e Mon Sep 17 00:00:00 2001 From: dami Date: Sat, 11 Apr 2026 21:34:11 +0800 Subject: [PATCH] Update index.py --- plugins/apache/index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/apache/index.py b/plugins/apache/index.py index 4eb0c304b..4549c77f8 100755 --- a/plugins/apache/index.py +++ b/plugins/apache/index.py @@ -208,10 +208,10 @@ def restyOp(method): def op_submit_systemctl_restart(): current_os = mw.getOs() if current_os.startswith("freebsd"): - mw.execShell('service '+getPluginName()+' restart') + mw.execShell('service httpd restart') return True - mw.execShell('systemctl restart '+getPluginName()) + mw.execShell('systemctl restart httpd') return True