404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.145.175.141: ~ $
import logging
from subprocess import TimeoutExpired

from uaclient import exceptions, system, util

LOG = logging.getLogger(util.replace_top_level_logger_name(__name__))


def start():
    try:
        system.subp(["systemctl", "start", "ua-timer.timer"], timeout=2.0)
    except (exceptions.ProcessExecutionError, TimeoutExpired) as e:
        LOG.warning(e, exc_info=e)


def stop():
    try:
        system.subp(["systemctl", "stop", "ua-timer.timer"], timeout=2.0)
    except (exceptions.ProcessExecutionError, TimeoutExpired) as e:
        LOG.warning(e, exc_info=e)

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
__init__.py File 573 B 0644
metering.py File 673 B 0644
update_contract_info.py File 917 B 0644
update_messaging.py File 5.57 KB 0644