diff --git a/etc/Makefile.am b/etc/Makefile.am index d35ba1a4c796..d93f4edb8a94 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -2,6 +2,10 @@ systemdsystemunit_DATA = flux.service #endif +tmpfilesdir = $(prefix)/lib/tmpfiles.d + +tmpfiles_DATA = flux.conf + dist_fluxrc_SCRIPTS = \ rc1 \ rc3 diff --git a/etc/flux.conf b/etc/flux.conf new file mode 100644 index 000000000000..d6feb54bbbfe --- /dev/null +++ b/etc/flux.conf @@ -0,0 +1,4 @@ +# See tmpfiles.d(5) +# remove Flux dump files older than 30 days + +e /var/lib/flux/dump - - - 30d