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: