From: Tom Hughes Date: Thu, 24 Nov 2022 23:09:05 +0000 (+0000) Subject: Enable networing for matomo archiver X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/7b419e677172ae7c24fe1ac957181dbf87e9073a Enable networing for matomo archiver --- diff --git a/cookbooks/matomo/recipes/default.rb b/cookbooks/matomo/recipes/default.rb index c72f7aac4..2bc613e13 100644 --- a/cookbooks/matomo/recipes/default.rb +++ b/cookbooks/matomo/recipes/default.rb @@ -201,9 +201,9 @@ end systemd_service "matomo-archive" do description "Matomo report archiving" - exec_start "/usr/bin/php /srv/matomo.openstreetmap.org/console core:archive --quiet --url=https://matomo.openstreetmap.org/" + exec_start "/usr/bin/php /srv/matomo.openstreetmap.org/console core:archive --url=https://matomo.openstreetmap.org/" user "www-data" - sandbox true + sandbox :enable_network => true memory_deny_write_execute false restrict_address_families "AF_UNIX" read_write_paths "/opt/matomo-#{version}/matomo/tmp"