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

misc: finalize asset names for Linux #107

Merged
merged 1 commit into from
Apr 3, 2024
Merged

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Apr 3, 2024

Finalizes asset names on Linux so that all of the following are true:

  • The published binary is named alloy-linux-ARCH
  • The default config file path (when an installer is used or in Docker) is /etc/alloy/config.alloy
  • The default data storage path (when an installer is used or in Docker) is /var/lib/alloy/data
  • The system package name is alloy and it is installed as a service called alloy.
  • When an installer is used, the service runs as a user alloy and user group alloy.
  • For RPM installs, the environment file is stored at /etc/sysconfig/alloy
  • For DEB installs, the environment file is stored at /etc/default/alloy

I've locally tested the Docker image and ran the packages tests to verify everything still works.

Finalizes asset names so that all of the following are true:

* The published binary is named `alloy-linux-ARCH`
* The default config file path (when an installer is used or in Docker)
  is `/etc/alloy/config.alloy`
* The default data storage path (when an installer is used or in Docker)
  is `/var/lib/alloy/data`
* The system package name is `alloy` and it is installed as a service
  called `alloy`.
* When an installer is used, the service runs as a user `alloy` and
  user group `alloy`.
* For RPM installs, the environment file is stored at
  `/etc/sysconfig/alloy`
* For DEB installs, the environment file is stored at
  `/etc/default/alloy`
@rfratto rfratto merged commit d5f6d59 into main Apr 3, 2024
9 checks passed
@rfratto rfratto deleted the finalize-asset-names-linux branch April 3, 2024 13:54
@rfratto rfratto added the backport-to-agent:no PR should NOT be backported to the agent repo. label Apr 23, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport-to-agent:no PR should NOT be backported to the agent repo. frozen-due-to-age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant