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

add another path to check for apache service #99

Closed
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

add another path to check for apache service

  • Loading branch information
Cloud User
Cloud User committed Aug 14, 2017
commit de035819157ca5cd264af7caacfb60d82b8ef6f1
@@ -113,7 +113,11 @@ checkApacheDetails()
getApacheServiceName

#verify if apache is installed as service
if [ ! -f /etc/init.d/$SERVICE ]; then
if [ -f /etc/init.d/$SERVICE ]; then
logMsgToConfigSysLog "INFO" "INFO: Apache is present as a service."
elif [ -f /usr/lib/systemd/system/$SERVICE.service ]; then
logMsgToConfigSysLog "INFO" "INFO: Apache is present as a service."
else
logMsgToConfigSysLog "ERROR" "ERROR: Apache is not configured as a service"
exit 1
fi
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.