X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dc2a2c8ebd1a11e4a64555fda22c6859a51defff..469f64384dc7d3266f40cb1a0afafd4df1abb6e8:/lib/daemons/gpx_import_ctl diff --git a/lib/daemons/gpx_import_ctl b/lib/daemons/gpx_import_ctl index 43fb48c15..00b3a00b3 100755 --- a/lib/daemons/gpx_import_ctl +++ b/lib/daemons/gpx_import_ctl @@ -11,11 +11,13 @@ class Hash end end -options = YAML.load( +options = YAML.safe_load( ERB.new( IO.read( File.dirname(__FILE__) + "/../../config/daemons.yml" - )).result).with_symbols! + ) + ).result +).with_symbols! options[:dir_mode] = options[:dir_mode].to_sym Daemons.run File.dirname(__FILE__) + "/gpx_import.rb", options