Hi all!
We have a lot of cPanel servers and we don't use cpanel_php_fpm
But someone enabled this service on different hosts and when we make localmove we often getting error with phpmyadmin... so if service cpanel_php_fpm is enable need to restart it after localmove account. I want to disable this service via salt. How can I do this? And how can I to check who enabled this service via WHM web interface?
I have 2 ideas ho to disable... but what way is better? Salt applying once in 24 hours.
1. cmd.run 'whmapi1 configureservice service='cpanel_php_fpm' enabled=0'
2. cpanel_php_fpm
service.running:
- enable: False
We have a lot of cPanel servers and we don't use cpanel_php_fpm
But someone enabled this service on different hosts and when we make localmove we often getting error with phpmyadmin... so if service cpanel_php_fpm is enable need to restart it after localmove account. I want to disable this service via salt. How can I do this? And how can I to check who enabled this service via WHM web interface?
I have 2 ideas ho to disable... but what way is better? Salt applying once in 24 hours.
1. cmd.run 'whmapi1 configureservice service='cpanel_php_fpm' enabled=0'
2. cpanel_php_fpm
service.running:
- enable: False
Last edited by a moderator: