This commit is contained in:
Евгений Храмов 2023-05-29 22:27:47 +03:00
parent ba736255fc
commit 20b2286747

@ -800,7 +800,7 @@ def start_stop(action, g, m):
name_servers = choose_map(g, m)
for i in name_servers:
if action == "stop" or action == "restart":
rcon_local(i, "SaveWorld")
rcon_local(i, c="SaveWorld")
data = read_yaml(i, g="ark", flag=True)
x = os.system(f"systemctl --user {action} ark_{data['SessionName'].lower()}.service")
if x == 0: