Skip to content

Commit

Permalink
wiki: Run dump nicer only once a week
Browse files Browse the repository at this point in the history
  • Loading branch information
Firefishy committed Jan 17, 2025
1 parent 007a4d0 commit 7e506aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cookbooks/wiki/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
exec_start "/usr/bin/php w/maintenance/dumpBackup.php --full --quiet --output=gzip:dump/dump.xml.gz"
working_directory "/srv/wiki.openstreetmap.org"
user "wiki"
nice 19
sandbox :enable_network => true
memory_deny_write_execute false
restrict_address_families "AF_UNIX"
Expand All @@ -161,7 +162,7 @@

systemd_timer "wiki-dump" do
description "Wiki dump"
on_calendar "02:00"
on_calendar "Sun 02:30"
end

service "wiki-dump.timer" do
Expand Down

0 comments on commit 7e506aa

Please sign in to comment.