Skip to content

Commit

Permalink
Add systemd-tmpfiles configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill committed Jan 17, 2025
1 parent 6ab2e49 commit f7f98ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@
environment: "{{ archivematica_src_am_dashboard_environment }}"
when: archivematica_src_configure_dashboard|bool and dashboard_user.stdout == "" and dashboard_ss_url.stdout == ""

# Configure systemd-tmpfiles to not delete AM Prometheus data files.
- name: "Set up systemd-tmpfiles configuration"
template:
src: "etc/tmpfiles.d/am-prometheus.conf"
dest: "/etc/tmpfiles.d/am-prometheus.conf"


#
# Configure AtoM DIP Upload
Expand Down
1 change: 1 addition & 0 deletions templates/etc/tmpfiles.d/am-prometheus.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
x /tmp/prometheus-stats*

0 comments on commit f7f98ca

Please sign in to comment.