Skip to content

Commit

Permalink
Update nfpm.yaml for apk packages (#597)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhurley authored Mar 15, 2024
1 parent b5d2c89 commit 2a918fb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .nfpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ contents:
dst: /etc/systemd/system/nginx-agent.service
- src: ./scripts/nginx-agent.logrotate
dst: /etc/logrotate.d/nginx-agent
- src: ./scripts/packages/nginx-agent.openrc
dst: /etc/init.d/nginx-agent
packager: apk
- src: ./scripts/selinux/nginx_agent_selinux.8.gz
dst: /usr/share/man/man8/nginx_agent_selinux.8.gz
packager: rpm
Expand All @@ -45,6 +48,8 @@ rpm:
apk:
signature:
key_file: ".key.rsa"
scripts:
postupgrade: "./scripts/packages/postupgrade.sh"
scripts:
preinstall: "./scripts/packages/preinstall.sh"
postinstall: "./scripts/packages/postinstall.sh"
Expand Down

0 comments on commit 2a918fb

Please sign in to comment.