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

Drop the interpreter for execution in the service file #3286

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

Conversation

rjschwei
Copy link
Contributor

@rjschwei rjschwei commented Jan 6, 2025

Description

The waagent script is executable and has the interpreter set. Drop the use of the Python interpreter to execute the file from the systemd unit file. We achieve unbuffered I/O by setting the PYTHONUNBUFFERED environment variable instead. This makes it easier for distribution packaging as packagers will only have to update the pathto the interpreter used on the given distro in one file.

Issue #


PR information

  • [ x] Ensure development PR is based on the develop branch.
  • [x ] The title of the PR is clear and informative.
  • There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
  • If applicable, the PR references the bug/issue that it fixes in the description.
  • New Unit tests were added for the changes made

Quality of Code and Contribution Guidelines

The waagent script is executable and has the interpreter set. Drop the
use of the Python interpreter to execute the file from the systemd unit file.
We achieve unbuffered I/O by setting the PYTHONUNBUFFERED environment
variable instead. This makes it easier for distribution packaging as
packagers will only have to update the pathto the interpreter used on the
given distro in one file.
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.

2 participants