How to use the asu.utils.updater.Updater function in asu

To help you get started, we’ve selected a few asu examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aparcar / attendedsysupgrade-server / worker.py View on Github external
import logging

logging.basicConfig(level=logging.DEBUG)
log = logging.getLogger(__name__)

log.info("start garbage collector")
gaco = GarbageCollector()
gaco.start()

log.info("start boss")
boss = Boss()
boss.start()

log.info("start updater")
uper = Updater()
uper.start()
github aparcar / attendedsysupgrade-server / asu / views.py View on Github external
from asu.utils.boss import Boss
    from asu.utils.updater import Updater

    logging.basicConfig(level=logging.DEBUG)
    log = logging.getLogger(__name__)

    log.info("start garbage collector")
    gaco = GarbageCollector()
    gaco.start()

    log.info("start boss")
    boss = Boss()
    boss.start()

    log.info("start updater")
    uper = Updater()
    uper.start()