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

Rework of systemd template to allow to run in systemd user session. #5101

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

RealKelsar
Copy link

Hi,

This pull request includes a cleanup and extension of the Linux systemd runner template script, which has been in use for about 18 months already.

Changes

  • Cleaned up the code using current best practices.
  • Added the ability to run inside a systemd user session instead of the system context. (This allows us to run disposable runners in their own user sessions.)
  • Fixed some issues, such as not getting usage information if not run as root and duplicated root permissions checks.

Please let me know if you have any questions.

…lso fixed some errors, code quality stuff and unexpected behaviour.
@RealKelsar RealKelsar requested review from a team as code owners January 27, 2025 11:09
@RealKelsar
Copy link
Author

@microsoft-github-policy-service agree company="rosen-group"

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