X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8d79277292555d96f0ead6e8cfc1c43cb3a7278d..29a5abe37175eaa75fdf19cda4cfec57cd387e3c:/cookbooks/mediawiki/recipes/default.rb diff --git a/cookbooks/mediawiki/recipes/default.rb b/cookbooks/mediawiki/recipes/default.rb index 30bd612d1..af0e645a0 100644 --- a/cookbooks/mediawiki/recipes/default.rb +++ b/cookbooks/mediawiki/recipes/default.rb @@ -85,7 +85,7 @@ systemd_service "mediawiki-sitemap@" do exec_start "/usr/bin/php -d memory_limit=2048M -d error_reporting=22517 /srv/%i/w/maintenance/generateSitemap.php --server=https://%i --urlpath=https://%i/ --fspath=/srv/%i --quiet --skip-redirects" user node[:mediawiki][:user] nice 10 - sandbox true + sandbox :enable_network => true memory_deny_write_execute false read_write_paths "/srv/%i" end @@ -100,7 +100,7 @@ systemd_service "mediawiki-jobs@" do exec_start "/usr/bin/php -d memory_limit=2048M -d error_reporting=22517 /srv/%i/w/maintenance/runJobs.php --server=https://%i --maxtime=175 --memory-limit=2048M --procs=8 --nothrottle --quiet" user node[:mediawiki][:user] nice 10 - sandbox true + sandbox :enable_network => true memory_deny_write_execute false read_write_paths "/srv/%i" end