X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/088a181ce574ea2903b0388cd3f7818ee00b2c5c..8143fc583e3911338bc455f858f4df9a0567c171:/cookbooks/mediawiki/recipes/default.rb diff --git a/cookbooks/mediawiki/recipes/default.rb b/cookbooks/mediawiki/recipes/default.rb index d51d5e51a..c7249e8fa 100644 --- a/cookbooks/mediawiki/recipes/default.rb +++ b/cookbooks/mediawiki/recipes/default.rb @@ -102,7 +102,6 @@ systemd_service "mediawiki-jobs@" do user node[:mediawiki][:user] nice 10 runtime_max_sec 3600 - restart "on-failure" sandbox :enable_network => true memory_deny_write_execute false restrict_address_families "AF_UNIX" @@ -121,7 +120,6 @@ systemd_service "mediawiki-email-jobs@" do user node[:mediawiki][:user] nice 10 runtime_max_sec 3600 - restart "on-failure" sandbox :enable_network => true memory_deny_write_execute false restrict_address_families "AF_UNIX" @@ -134,24 +132,6 @@ systemd_timer "mediawiki-email-jobs@" do on_unit_inactive_sec "1m" end -systemd_service "mediawiki-refresh-links@" do - description "Refresh mediawiki links for %i" - exec_start "/usr/bin/php -d memory_limit=16G -d error_reporting=22517 /srv/%i/w/maintenance/refreshLinks.php --server=https://%i --memory-limit=16G" - user node[:mediawiki][:user] - nice 10 - runtime_max_sec 43200 - restart "on-failure" - sandbox :enable_network => true - memory_deny_write_execute false - restrict_address_families "AF_UNIX" - read_write_paths "/srv/%i" -end - -systemd_timer "mediawiki-refresh-links@" do - description "Refresh mediawiki links for %i" - on_calendar "Sat 00:05" -end - systemd_service "mediawiki-cleanup-gs" do description "Clean up imagemagick gs_* files" exec_start "/usr/bin/find /tmp -maxdepth 1 -type f -user www-data -mmin +90 -name 'gs_*' -delete"