__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
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)
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| __init__.py | File | 573 B | 0644 |
|
| metering.py | File | 674 B | 0644 |
|
| update_messaging.py | File | 5.97 KB | 0644 |
|