Add config file for cleaning up cache files
systemd-tmpfiles is required to enable the auto clean up. JIRA: RHELCMP-6327 Signed-off-by: Haibo Lin <hlin@redhat.com>
This commit is contained in:
parent
467c7a7f6a
commit
8f6f0f463f
2
contrib/tmpfiles.d/pungi-clean-cache.conf
Normal file
2
contrib/tmpfiles.d/pungi-clean-cache.conf
Normal file
@ -0,0 +1,2 @@
|
||||
# Clean up pungi cache
|
||||
d /var/cache/pungi/createrepo_c/ - - - 30d
|
1
setup.py
1
setup.py
@ -46,6 +46,7 @@ setup(
|
||||
},
|
||||
scripts=["contrib/yum-dnf-compare/pungi-compare-depsolving"],
|
||||
data_files=[
|
||||
("/usr/lib/tmpfiles.d", glob.glob("contrib/tmpfiles.d/*.conf")),
|
||||
("/usr/share/pungi", glob.glob("share/*.xsl")),
|
||||
("/usr/share/pungi", glob.glob("share/*.ks")),
|
||||
("/usr/share/pungi", glob.glob("share/*.dtd")),
|
||||
|
Loading…
Reference in New Issue
Block a user