From 9e58fa4907d539d20310dfbaecaeeae068a9fb1a Mon Sep 17 00:00:00 2001 From: xpamych Date: Mon, 15 May 2023 21:33:29 +0300 Subject: [PATCH] 1 --- hlna.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hlna.py b/hlna.py index b48be9c..85746ce 100755 --- a/hlna.py +++ b/hlna.py @@ -563,8 +563,8 @@ def switch(m, e): continue x = os.system( f"mv {dir_deactivated}{i} {dir_maps_ark} >> {dir_logs}{date} 2>&1") - os.system(f"systemctl --user stop ari_{i}") - os.system(f"systemctl --user disable ari_{i}") + os.system(f"systemctl --user stop ark_{i}") + os.system(f"systemctl --user disable ark_{i}") with open(f"{dir_logs}{date}.log", "a") as f: f.write(f"[{time}] File {i} has been moved to {dir_maps_ark}\n") if x == 0: @@ -581,8 +581,8 @@ def switch(m, e): continue x = os.system( f"mv {dir_maps_ark}{i} {dir_deactivated} >> {dir_logs}{date} 2>&1") - os.system(f"systemctl --user enable ari_{i}") - os.system(f"systemctl --user start ari_{i}") + os.system(f"systemctl --user enable ark_{i}") + os.system(f"systemctl --user start ark_{i}") with open(f"{dir_logs}{date}.log", "a") as f: f.write(f"[{time}] File {i} has been moved to {dir_deactivated}\n") if x == 0: