Add cron job for deleting repo archives
This commit is contained in:
parent
5617591e1c
commit
8f4d11b317
@ -124,3 +124,10 @@ firewall_rule 'gitea' do
|
||||
protocol :tcp
|
||||
command :allow
|
||||
end
|
||||
|
||||
# Hack-fix until we can disable auto-generation of archives
|
||||
# TODO https://gitea.kosmos.org/kosmos/chef/issues/395
|
||||
cron 'delete auto-generated repo file archives' do
|
||||
minute '*/15'
|
||||
command 'rm -rf /var/lib/gitea/data/repo-archive/* >/dev/null 2>&1'
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user