From d1f0500de6c0cafb00a6635f54523d758dcf4482 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 3 Jul 2022 15:33:13 +0800 Subject: [PATCH] Update task.py --- task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/task.py b/task.py index 9d4529ccb..24b0dc10c 100755 --- a/task.py +++ b/task.py @@ -392,7 +392,7 @@ def startPHPVersion(version): # system phpService = '/lib/systemd/system/php' + version + '.service' if os.path.exists(phpService): - mw.execShell("systemctl reload php" + version) + mw.execShell("systemctl restart php" + version) if checkPHPVersion(version): return True