Skip to content

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