]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/oxidized/recipes/default.rb
oxidized: use runtime directory for systemd
[chef.git] / cookbooks / oxidized / recipes / default.rb
index 280efad594e0d997fd0bd2d8a8ed61e3eb73ce41..6d5486d498980bd90da1fcd1c2fa987101882870 100644 (file)
@@ -141,6 +141,7 @@ systemd_service "oxidized" do
   after "network.target"
   user "oxidized"
   working_directory "/opt/oxidized/daemon"
+  runtime_directory "oxidized"
   exec_start "#{node[:ruby][:bundle]} exec oxidized"
   environment "OXIDIZED_HOME" => "/etc/oxidized",
               "OXIDIZED_LOGS" => "/var/log/oxidized"