]> git.openstreetmap.org Git - chef.git/commitdiff
Fix path to gzip
authorTom Hughes <tom@compton.nu>
Thu, 24 Nov 2022 08:05:30 +0000 (08:05 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 24 Nov 2022 08:05:30 +0000 (08:05 +0000)
cookbooks/wiki/recipes/default.rb

index 9ea20eb0e017643bcaa09c4f68cfd247a89220f9..5191ad1a0411d3c3c8e62ee6377e24c5d1faa4fb 100644 (file)
@@ -160,7 +160,7 @@ 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",
+    "/bin/gzip -9 /tmp/wikibase-rdf.ttl",
     "/usr/bin/mv /tmp/wikibase-rdf.ttl.gz /srv/wiki.openstreetmap.org/dump/wikibase-rdf.ttl.gz"
   ]
   working_directory "/srv/wiki.openstreetmap.org"