removing the need for absolute files

This commit is contained in:
John Bresnahan 2013-05-29 10:33:24 -10:00
parent 7f6618ad6b
commit 160b988292
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ bind_port = 9292
# Log to this file. Make sure you do not set the same log
# file for both the API and registry servers!
log_file = /var/log/staccato/api.log
log_file = api.log
# Backlog requests when creating socket
backlog = 4096
@ -25,7 +25,7 @@ db_auto_create = True
# SQLAlchemy connection string for the reference implementation
# registry server. Any valid SQLAlchemy connection string is fine.
# See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine
sql_connection = sqlite:////home/jbresnah/Dev/OpenStack/staccato/etc/staccato.sqlite
sql_connection = sqlite:///staccato.sqlite
# Period in seconds after which SQLAlchemy should reestablish its connection
# to the database.

View File

@ -20,7 +20,7 @@ def fail(returncode, e):
def main():
try:
conf = config.get_config_object()
paste_file = conf.paste_deploy.config_file
paste_file = conf.find_file(conf.paste_deploy.config_file)
wsgi_app = os_pastedeploy.paste_deploy_app(paste_file,
'staccato-api',
conf)