Update index.py

pull/891/head
dami 2 weeks ago
parent 50d12407c9
commit 3fb8406e7b
  1. 2
      plugins/php-apt/index.py

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

Loading…
Cancel
Save