Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hsntgm authored Jul 12, 2024
1 parent 4db507b commit ae037a1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions fastcgi_ops_root.sh
Original file line number Diff line number Diff line change
Expand Up @@ -232,12 +232,12 @@ find_create_includedir() {
return 0
}

# Automate the process of granting specific sudo permissions to the PHP-FPM process owner users on a system.
# These permissions specifically authorize the execution of systemctl commands (start, stop, status) related to the npp_wordpress systemd service by PHP-FPM process owners.
# By granting these permissions, the goal is to allow the npp_wordpress systemd service to be controlled directly from the WordPress admin dashboard, enhancing operational flexibility and automation.
# Automate the process of granting specific sudo permissions to the PHP-FPM process owners on a system.
# These permissions specifically authorize PHP-FPM process owners to execute systemctl commands (start, stop, status) for NPP plugin main systemd service 'npp-wordpress'.
# By granting these permissions, the goal is to allow the 'npp-wordpress' systemd service to be controlled directly from the WordPress admin dashboard, enhancing operational flexibility and automation.
# This automation enhances security by limiting sudo access to only specific systemd service management tasks.
# After successful integration NPP users will be able to manage (start, stop, status) the 'npp-wordpress.service' on WP admin dashboard NPP plugin settings page.
# This implementation not restrictly necessarry for functional cache purge & preload actions, but it is nice to have this ability that control main plugin systemd service 'npp-wordpress.service' on admin dashboard.
# After successful integration NPP users will be able to manage (start, stop, status) the 'npp-wordpress' systemd service on WP admin dashboard NPP plugin settings page.
# This implementation not restrictly necessarry for functional cache purge & preload actions, but it is nice to have this ability that control main plugin systemd service 'npp-wordpress' on WP admin dashboard.
grant_sudo_perm_systemctl_for_php_process_owner() {
# Try to get/create the includedir first
if find_create_includedir; then
Expand Down

0 comments on commit ae037a1

Please sign in to comment.