1
This commit is contained in:
parent
2a51ec3e1c
commit
d9425ea46e
2
hlna.py
2
hlna.py
@ -801,7 +801,7 @@ def start_stop(action, g, m):
|
||||
name_servers = choose_map(g, m)
|
||||
for i in name_servers:
|
||||
print(action)
|
||||
if action == "stop" or action == "restart":
|
||||
if action == stop or action == restart:
|
||||
rcon_local(i, "SaveWorld")
|
||||
data = read_yaml(i, g="ark", flag=True)
|
||||
x = os.system(f"systemctl --user {action} ark_{data['SessionName'].lower()}.service")
|
||||
|
Loading…
Reference in New Issue
Block a user