diff --git a/plugins/apache/index.py b/plugins/apache/index.py index b36684f50..359c46a49 100755 --- a/plugins/apache/index.py +++ b/plugins/apache/index.py @@ -237,12 +237,12 @@ def restyOp(method): return data[1] if current_os.startswith("freebsd"): - mw.execShell('service '+getPluginName()+' '+method) + mw.execShell('service httpd '+method) if data[1] == '': return 'ok' return data[1] - data = mw.execShell('systemctl ' + method + ' '+getPluginName()) + data = mw.execShell('systemctl ' + method + ' httpd') if data[1] == '': return 'ok' return data[1]