Skip to content

Conversation

dhurley
Copy link
Collaborator

@dhurley dhurley commented Oct 20, 2025

Proposed changes

  • If updating a file called /etc/nginx/nginx.conf, agent will first create a backup called /etc/nginx/.nginx.conf.agent.backup.
  • Then it will download the file and write the updates to another hidden file called /etc/nginx/.nginx.conf.agent.tmp.
  • It will then rename /etc/nginx/.nginx.conf.agent.tmp to /etc/nginx/nginx.conf.
  • If the changes need to be rolled back, agent will rename /etc/nginx/.nginx.conf.agent.backup to /etc/nginx/nginx.conf.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • I have run make install-tools and have attached any dependency changes to this pull request
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • If applicable, I have updated any relevant documentation (README.md)
  • If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

@dhurley dhurley self-assigned this Oct 20, 2025
@dhurley dhurley requested a review from a team as a code owner October 20, 2025 15:40
@dhurley dhurley added the v3.x Issues and Pull Requests related to the major version v3 label Oct 20, 2025
@github-actions github-actions bot added the chore Pull requests for routine tasks label Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Pull requests for routine tasks v3.x Issues and Pull Requests related to the major version v3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants