diff --git a/hlna.py b/hlna.py index 05fd769..ad1aee6 100755 --- a/hlna.py +++ b/hlna.py @@ -525,6 +525,10 @@ def start_stop(action, g, m, b, list_config=list_config): print_line("Готово") else: print("Ни одной карты не установлено") + elif g == "7days": + x = os.system(f"systemctl --user {action} 7days.service") + if x == 0: + print_line("Готово") def read_yaml(list_config, flag=True):