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

Add systemd-tmpfiles configuration file #416

Open
wants to merge 1 commit into
base: qa/1.x
Choose a base branch
from
Open
Show file tree
Hide file tree
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
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*