Skip to content

Commit

Permalink
Fix a comment in FixOsVendorPhpFpmConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
kpushkaryov committed Jul 11, 2024
1 parent 75b1a5e commit bb4d129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloudlinux7to8/actions/php.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def _prepare_action(self) -> action.ActionResult:

def _post_action(self) -> action.ActionResult:
# Plesk expect www pool to be disabled by default.
# Every distro should has the same configuration generated by Plesk.
# However we store the original configuration in the www.conf.saved_by_psa file.
# Every distro should have the same configuration generated by Plesk.
# However, we store the original configuration in the www.conf.saved_by_psa file.
if os.path.exists(f"{OS_VENDOR_PHP_FPM_CONFIG}.rpmnew"):
shutil.move(f"{OS_VENDOR_PHP_FPM_CONFIG}.rpmnew", f"{OS_VENDOR_PHP_FPM_CONFIG}.saved_by_psa")
elif os.path.exists(f"{OS_VENDOR_PHP_FPM_CONFIG}.rpmsave"):
Expand Down

0 comments on commit bb4d129

Please sign in to comment.