X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3a4d52bd4c0f8e6ae7679145846b7bc7845d8ace..56df259055ae541d1f31b8502c549cb84f74778e:/cookbooks/web/recipes/gpx.rb diff --git a/cookbooks/web/recipes/gpx.rb b/cookbooks/web/recipes/gpx.rb index 10463da89..51eea1ed4 100644 --- a/cookbooks/web/recipes/gpx.rb +++ b/cookbooks/web/recipes/gpx.rb @@ -61,7 +61,7 @@ template "/etc/init.d/gpx-import" do variables :gpx_directory => gpx_directory, :pid_directory => pid_directory, :log_directory => log_directory, - :database_host => node[:web][:database_host], + :database_host => node[:web][:database_host], :database_name => "openstreetmap", :database_username => "gpximport", :database_password => db_passwords["gpximport"] @@ -73,7 +73,7 @@ if %w(database_offline database_readonly gpx_offline).include?(node[:web][:statu end else service "gpx-import" do - action [ :enable, :start ] + action [:enable, :start] supports :restart => true, :reload => true subscribes :restart, "execute[gpx-import-build]" subscribes :restart, "template[/etc/init.d/gpx-import]"