X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/79f4a86c6a7320bb287968a42393b9449196b12e..586d197702be461402f6837edf1ef6c612c1f0a7:/cookbooks/wiki/recipes/default.rb diff --git a/cookbooks/wiki/recipes/default.rb b/cookbooks/wiki/recipes/default.rb index b82f59058..2485932b3 100644 --- a/cookbooks/wiki/recipes/default.rb +++ b/cookbooks/wiki/recipes/default.rb @@ -151,10 +151,6 @@ systemd_timer "wiki-dump" do on_calendar "02:00" end -cron_d "wiki-dump" do - action :delete -end - service "wiki-dump.timer" do action [:enable, :start] end @@ -164,8 +160,8 @@ systemd_service "wiki-rdf-dump" do type "oneshot" exec_start [ "/usr/bin/php w/extensions/Wikibase/repo/maintenance/dumpRdf.php --wiki wiki --format ttl --flavor full-dump --entity-type item --entity-type property --no-cache --output /tmp/wikibase-rdf.ttl", - "/usr/bin/gzip -9 /tmp/wikibase-rdf.ttl", - "/usr/bin/mv /tmp/wikibase-rdf.ttl.gz /srv/wiki.openstreetmap.org/dump/wikibase-rdf.ttl.gz" + "/bin/gzip -9 /tmp/wikibase-rdf.ttl", + "/bin/mv /tmp/wikibase-rdf.ttl.gz /srv/wiki.openstreetmap.org/dump/wikibase-rdf.ttl.gz" ] working_directory "/srv/wiki.openstreetmap.org" user "wiki" @@ -180,10 +176,6 @@ systemd_timer "wiki-rdf-dump" do on_calendar "04:00" end -cron_d "wiki-rdf-dump" do - action :delete -end - service "wiki-rdf-dump.timer" do action [:enable, :start] end