diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-11 14:26:47 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-11 14:32:21 +0200 |
commit | a45b5073cac989da084f1bdb44cac71b6c6a61a8 (patch) | |
tree | 94ac53a96efa457befb6606dcce22797359fae1d /conf | |
parent | 2164750f1e951c6985b3f9c29663bf94d16553e7 (diff) | |
download | aurweb-a45b5073cac989da084f1bdb44cac71b6c6a61a8.tar.xz |
Implement a maintenance mode
Add support for a maintenance mode that disables both the website and
the SSH interface and can be enabled easily using a configuration
option.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/config.proto | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/config.proto b/conf/config.proto index 1d3e329..e5da57a 100644 --- a/conf/config.proto +++ b/conf/config.proto @@ -28,6 +28,7 @@ auto_delete_age = 86400 pkgbuild_uri = https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=%s log_uri = https://aur.archlinux.org/cgit/aur.git/log/?h=%s snapshot_uri = https://aur.archlinux.org/cgit/aur.git/snapshot/%s.tar.gz +enable-maintenance = 1 [auth] valid-keytypes = ssh-rsa ssh-dss ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521 ssh-ed25519 |