diff options
author | Jochen Topf <jochen@topf.org> | 2013-01-20 17:21:11 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2013-01-20 17:21:11 +0100 |
commit | 767b56220b1d3696415210c4f243d852bbb2402a (patch) | |
tree | 7221fac514456a3acb60a29594275a48c2ac6529 | |
parent | b862891651b130b084c7382b5c548d8c2d7d44a8 (diff) | |
download | taginfo-767b56220b1d3696415210c4f243d852bbb2402a.tar taginfo-767b56220b1d3696415210c4f243d852bbb2402a.tar.gz |
Add config file for apache2 passenger
-rw-r--r-- | web/config.ru | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/web/config.ru b/web/config.ru new file mode 100644 index 0000000..b3ff0f9 --- /dev/null +++ b/web/config.ru @@ -0,0 +1,16 @@ +# +# For use with Phusion Passenger +# + +require 'sinatra' +require './taginfo.rb' + +set :run, false +set :environment, :production + +log = File.new("/osm/taginfo/log/taginfo.log", "a+") +$stdout.reopen(log) +$stderr.reopen(log) + +run Taginfo + |