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

rhel packages not to be replaced #152

Merged
merged 5 commits into from
Dec 15, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .nfpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ changelog: "./scripts/changelog.yml"
contents:
- src: ./build/nginx-agent
dst: /usr/bin/nginx-agent
- dst: /etc/nginx-agent
type: dir
- src: nginx-agent.conf
dst: /etc/nginx-agent/nginx-agent.conf
type: config|noreplace
file_info:
mode: 0640
- src: ./scripts/packages/nginx-agent.service
dst: /etc/systemd/system/nginx-agent.service
- src: ./scripts/selinux/nginx_agent_selinux.8.gz
Expand Down
7 changes: 5 additions & 2 deletions scripts/.local-nfpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ license: Apache 2.0
contents:
- src: ./build/nginx-agent
dst: /usr/bin/nginx-agent
- dst: /etc/nginx-agent
type: dir
- src: nginx-agent.conf
dst: /etc/nginx-agent/nginx-agent.conf
type: config|noreplace
file_info:
mode: 0640
- src: ./scripts/packages/nginx-agent.service
dst: /etc/systemd/system/nginx-agent.service
- src: ./scripts/selinux/nginx_agent_selinux.8.gz
Expand Down