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

move agent-dynamic.conf to /var/lib/nginx-agent #268

Merged
merged 21 commits into from
Apr 28, 2023
Merged

Conversation

aphralG
Copy link
Contributor

@aphralG aphralG commented Mar 27, 2023

Proposed changes

  • Move agent-dynamic.conf from /etc/nginx-agent to /var/lib/nginx-agent

    • For FreeBSD agent-dynamic.conf is now at /var/lib/nginx-agent/agent-dynamic.conf
  • Remove var/log/nginx-agent , /var/lib/nginx-agent & /etc/nginx-agent and contents when agent is uninstalled

    • For FreeBSD remove /usr/local/etc/nginx-agent, /var/log/nginx-agent & /var/db/nginx-agent and contents when agent is uninstalled

Check to see if agent-dynamic.conf is in old location, if it is create a symlink between the old file and the file in the new location.

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

@aphralG aphralG self-assigned this Mar 27, 2023
@netlify
Copy link

netlify bot commented Mar 27, 2023

Deploy Preview for agent-public-docs canceled.

Name Link
🔨 Latest commit ca56386
🔍 Latest deploy log https://app.netlify.com/sites/agent-public-docs/deploys/644b92f809153e00086dc6d8

@github-actions github-actions bot added chore Pull requests for routine tasks dependencies documentation Improvements or additions to documentation labels Mar 27, 2023
@aphralG aphralG requested a review from dhurley April 12, 2023 09:58
scripts/packages/postremove.sh Outdated Show resolved Hide resolved
Copy link
Contributor

@Dean-Coakley Dean-Coakley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me pending: #268 (comment)

@aphralG aphralG merged commit 5306376 into main Apr 28, 2023
@aphralG aphralG deleted the move-agent-dynamic-conf branch April 28, 2023 09:45
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 dependencies documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants