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

added curl on apache server and rsyslog restart #124

Merged
merged 2 commits into from Feb 5, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

added comment

  • Loading branch information
dusanzeliar committed Feb 5, 2019
commit 1fca99c1901ef703c9cdd037e0144a9592b01dfb
@@ -369,6 +369,7 @@ checkIfApacheLogsMadeToLoggly() {
esac

RESPONSE_CODE=$(curl --max-time 10 -s -o /dev/null -i -w "%{http_code}" $WEB_ADDRESS)
#curl return 000 response on reaching max-time
if [ ${RESPONSE_CODE} != "000" ]; then
logMsgToConfigSysLog "INFO" "INFO: Curl on server $WEB_ADDRESS has succeeded"
break;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.