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

fix: use symlinks to monit configuration to avoid dpkg creating backups of the config files #24

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Changes from all commits
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
10 changes: 9 additions & 1 deletion nfpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,21 @@ apk:
arch: noarch
contents:
- src: ./src/conf.d/*.conf
dst: /etc/monit/conf.d/
dst: /usr/share/tedge-monit-setup/
type: config
file_info:
mode: 0644
group: tedge
owner: tedge

- src: /usr/share/tedge-monit-setup/tedge.conf
dst: /etc/monit/conf.d/tedge.conf
type: symlink

- src: /usr/share/tedge-monit-setup/tedge-monitoring.conf
dst: /etc/monit/conf.d/tedge-monitoring.conf
type: symlink

- src: ./src/tedge-monit-setup/env
dst: /etc/tedge-monit-setup/env
type: config|noreplace
Expand Down