Update task.py

This commit is contained in:
midoks 2022-07-03 15:33:13 +08:00
parent 9af549e398
commit d1f0500de6
1 changed files with 1 additions and 1 deletions

View File

@ -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