From: Grant Slater Date: Fri, 17 Jan 2025 03:14:51 +0000 (+0000) Subject: wiki: Run dump nicer only once a week X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/7e506aa1e2e7c2f24473447d631fe979ff75a416 wiki: Run dump nicer only once a week --- diff --git a/cookbooks/wiki/recipes/default.rb b/cookbooks/wiki/recipes/default.rb index e7a2b3e57..e774d046f 100644 --- a/cookbooks/wiki/recipes/default.rb +++ b/cookbooks/wiki/recipes/default.rb @@ -153,6 +153,7 @@ systemd_service "wiki-dump" do 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" @@ -161,7 +162,7 @@ end systemd_timer "wiki-dump" do description "Wiki dump" - on_calendar "02:00" + on_calendar "Sun 02:30" end service "wiki-dump.timer" do