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

Use a unique name for each agent started using the systemd template unit file #2205

Merged
merged 1 commit into from
Jul 17, 2023
Merged

Use a unique name for each agent started using the systemd template unit file #2205

merged 1 commit into from
Jul 17, 2023

Conversation

DavidGregory084
Copy link
Contributor

@DavidGregory084 DavidGregory084 commented Jul 14, 2023

Relates to buildkite/docs#2252.

The docs currently advise users that they can run multiple agents using the same configuration by using the systemd template unit file.

However, this results in starting multiple agents with the same name, which the configuration docs advise against doing.

This PR uses unit file specifiers to give each agent a unique name based on the hostname and the systemd service instance name.

@DrJosh9000
Copy link
Contributor

Thanks @DavidGregory084! Looks good to me.

@DrJosh9000 DrJosh9000 merged commit 4c7cfb7 into buildkite:main Jul 17, 2023
1 check passed
@DrJosh9000 DrJosh9000 added the quality of life Little improvements label Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quality of life Little improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants