aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin.ini
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2011-07-31 13:54:07 +0200
committerElrond <elrond+mediagoblin.org@samba-tng.org>2011-08-09 13:13:04 +0200
commited7970696e3194fdfc9fb597342e2cecacc75935 (patch)
treebaf8f92379ff1150c2e31b125aa76b5ce3fd55d7 /mediagoblin.ini
parentd1e67890da02f29a8fc4605c2f6601526fcacf35 (diff)
downloadmediagoblin-ed7970696e3194fdfc9fb597342e2cecacc75935.tar.lz
mediagoblin-ed7970696e3194fdfc9fb597342e2cecacc75935.tar.xz
mediagoblin-ed7970696e3194fdfc9fb597342e2cecacc75935.zip
Storage Config: Use own section
Instead of configuring storage X by parameters in the main section "X_class = backend" and "X_param = value", use a new section in the config: "[storage:X]" and use "class = backend" and "param = value" there. This is the beginning, it includes a try at being backward compatible. But that try isn't really fully useful anyway.
Diffstat (limited to 'mediagoblin.ini')
-rw-r--r--mediagoblin.ini10
1 files changed, 7 insertions, 3 deletions
diff --git a/mediagoblin.ini b/mediagoblin.ini
index e889646a..c22d12d7 100644
--- a/mediagoblin.ini
+++ b/mediagoblin.ini
@@ -1,7 +1,4 @@
[mediagoblin]
-queuestore_base_dir = %(here)s/user_dev/media/queue
-publicstore_base_dir = %(here)s/user_dev/media/public
-publicstore_base_url = /mgoblin_media/
direct_remote_path = /mgoblin_static/
email_sender_address = "notice@mediagoblin.example.org"
@@ -14,5 +11,12 @@ allow_registration = true
## Uncomment this to put some user-overriding templates here
#local_templates = %(here)s/user_dev/templates/
+[storage:queuestore]
+base_dir = %(here)s/user_dev/media/queue
+
+[storage:publicstore]
+base_dir = %(here)s/user_dev/media/public
+base_url = /mgoblin_media/
+
[celery]
# Put celery stuff here