Update index.py

This commit is contained in:
dami 2026-05-07 16:46:31 +08:00
parent 3a4c985baf
commit 6d30940920
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ def status(version):
# if data[0] == '':
# return 'stop'
# return 'start'
sock_file = "/run/php/php${version:0:1}.${version:1:2}-fpm.sock"
sock_file = "/run/php/php${version}-fpm.sock"
if os.path.exists(sock_file):
return 'start'
return 'stop'