Update task.py
This commit is contained in:
parent
9af549e398
commit
d1f0500de6
2
task.py
2
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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue