Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

software_configs(): improved the method of verifying apache2, mysql, psql before attempting checks #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jsav0
Copy link

@jsav0 jsav0 commented Apr 27, 2020

improved the method of verifying the binaries with command -v.
Before the change, the apache section of checks was hanging unnecessarily long on some systems that took longer to return error if not present.
I also applied the same to the mysql and psql checks.

  • if apache does not exist, then no need to run apache checks
  • If mysql does not exist, then no need to run mysql checks
  • if psql does not exist, then no need to run psql checks

…checks. Corrected the method of verifying binary before running the check
@jsav0 jsav0 changed the title software_configs(): Corrected the method of verifying apache2, mysql, psql before attempting checks software_configs(): improved the method of verifying apache2, mysql, psql before attempting checks Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant