]> git.openstreetmap.org Git - chef.git/commitdiff
Fix path to systemctl
authorTom Hughes <tom@compton.nu>
Wed, 29 Jul 2020 18:19:06 +0000 (19:19 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 29 Jul 2020 18:19:06 +0000 (19:19 +0100)
cookbooks/planet/recipes/dump.rb

index 86a22d4491b921af7ba89cc73d832d8ccdf71ff8..dcefd4552fc31395d950d79eec4d31245f2ad545 100644 (file)
@@ -21,7 +21,7 @@ node.default[:incron][:planetdump] = {
   :user => "root",
   :path => "/store/backup",
   :events => %w[IN_CREATE IN_MOVED_TO],
-  :command => "/usr/bin/systemctl start planetdump@$#"
+  :command => "/bin/systemctl start planetdump@$#"
 }
 
 include_recipe "git"