removing the need for absolute files
This commit is contained in:
parent
7f6618ad6b
commit
160b988292
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue