diff options
-rw-r--r-- | ick_controller.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ick_controller.py b/ick_controller.py index 2090b4e..62ccaef 100644 --- a/ick_controller.py +++ b/ick_controller.py @@ -1,5 +1,5 @@ #!/usr/bin/python3 -# Copyright (C) 2017-2018 Lars Wirzenius +# Copyright (C) 2017-2019 Lars Wirzenius # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by @@ -47,6 +47,7 @@ default_config = { 'log': [], 'statedir': None, 'artifact-store': None, + 'muck-url': None, 'auth-url': None, 'notify-url': None, 'apt-server': None, @@ -93,8 +94,7 @@ def main(): ick2.log.log('info', msg_text='Ick2 controller starts', config=config) - state = ick2.FilePersistentState() - state.set_directory(config['statedir']) + state = ick2.MuckStore(config['muck-url']) api = ick2.ControllerAPI(state) api.set_apt_server(config['apt-server']) |