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

fix: handle https in systemd wrapper, and prevent it from looping forever #22026

Merged
merged 3 commits into from
Aug 3, 2021

Conversation

codyshepherd
Copy link
Contributor

@codyshepherd codyshepherd commented Aug 3, 2021

Closes #21967

Check for https-enabled in influxdb config. Exit if certificate path does not exist or if 10 attempts have been made to contact the endpoint after startup.

This PR also updates the package install test to include a test of https using a self-signed certificate.


@codyshepherd codyshepherd force-pushed the systemd-wrapper-https branch from 4fdcd6b to 87b2b62 Compare August 3, 2021 17:56
@docmerlin docmerlin self-requested a review August 3, 2021 18:03
scripts/influxd-systemd-start.sh Show resolved Hide resolved
scripts/influxd-systemd-start.sh Show resolved Hide resolved
@docmerlin docmerlin self-requested a review August 3, 2021 18:05
docmerlin
docmerlin previously approved these changes Aug 3, 2021
Copy link
Contributor

@psteinbachs psteinbachs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good.

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.

3 participants