X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/a82f2ee5fa3ef6e0d6d0971c5c75f2fca4196679..90a349e0bc558441e65156eabb585c578d93fbfd:/cookbooks/web/recipes/gpx.rb diff --git a/cookbooks/web/recipes/gpx.rb b/cookbooks/web/recipes/gpx.rb index f74ac5036..59d5bc1de 100644 --- a/cookbooks/web/recipes/gpx.rb +++ b/cookbooks/web/recipes/gpx.rb @@ -79,7 +79,7 @@ systemd_service "gpx-import" do pid_file "#{pid_directory}/gpx-import.pid" end -if %w(database_offline database_readonly gpx_offline).include?(node[:web][:status]) +if %w[database_offline database_readonly gpx_offline].include?(node[:web][:status]) service "gpx-import" do action :stop end