diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2016-10-17 15:01:45 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2016-10-17 15:13:05 +0200 |
commit | 85866796a40923708f6b868c32ddc2f2f4417d1d (patch) | |
tree | 8a58a593ad121ea6691196eee6af055e7010e069 /aurweb | |
parent | 9581069f49fbc305be3a37c2b46db0a24ede0564 (diff) |
Move configuration to /etc/aurweb/config
Since d4fe77a (Reorganize Git interface scripts, 2016-10-08), the key
components of the aurweb SSH interface are installed system-wide. Update
the default configuration path to point to a central location.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'aurweb')
-rw-r--r-- | aurweb/config.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/aurweb/config.py b/aurweb/config.py index aac188b..a52d942 100644 --- a/aurweb/config.py +++ b/aurweb/config.py @@ -12,8 +12,7 @@ def _get_parser(): if 'AUR_CONFIG' in os.environ: path = os.environ.get('AUR_CONFIG') else: - relpath = "/../conf/config" - path = os.path.dirname(os.path.realpath(__file__)) + relpath + path = "/etc/aurweb/config" _parser.read(path) return _parser |