mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
9581069f49
commit
85866796a4
5 changed files with 7 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue