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

Give user option to exit post-install early in order to avoid issue with systemd on some container images. #168

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

Conversation

seabre
Copy link

@seabre seabre commented Feb 6, 2023

The script checks for the existence of systemctl to determine of presence of systemd, which is fine. However, there are cases like with the Ubuntu 20.04 docker image where systemd is technically present, but won't work.

This modification allows the user to set an environment variable PDAGENT_SKIP_SERVICE_START in order to skip starting the service after the install. This is necessary, because if a start of pdagent's systemd service is attempted, then it will cause a failure. This is particularly annoying when building a Docker image. This change allows the user to avoid that problem.

…s that have remnants of systemd, but no actual working systemd.
@seabre seabre changed the title Give user option to exit early in order to avoid issue with systemd. Give user option to exit early in order to avoid issue with systemd on some container images. Feb 6, 2023
@seabre seabre changed the title Give user option to exit early in order to avoid issue with systemd on some container images. Give user option to exit post-install early in order to avoid issue with systemd on some container images. Feb 6, 2023
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