-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Paul Lathrop
committed
Jun 8, 2011
1 parent
434f9d3
commit 953fd30
Showing
4 changed files
with
20 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
worker_processes 4 | ||
listen "/var/run/geocoder-us/unicorn.sock", :backlog => 64 | ||
pid "/var/run/geocoder-us/unicorn.pid" | ||
stderr_path "/var/log/geocoder-us/geocoder-err.log" | ||
stdout_path "/var/log/geocoder-us/geocoder-out.log" | ||
|
||
# Have each process listen on a local port for debugging purposes. | ||
after_fork do |server, worker| | ||
addr = "127.0.0.1:#{40000 + worker.nr}" | ||
server.listen(addr, :tries => 1, :delay => 5, :tcp_nopush => true) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Defaults for geocoder-us upstart job | ||
# sourced by /etc/init/geocoder-us.conf | ||
# installed at /etc/default/geocoder-us by maintainer scripts | ||
|
||
# Set the location of the geocoder database. | ||
export GEOCODER_DB="/var/lib/geocoder-us/geocoder.db" |