1
This commit is contained in:
parent
e5e0f23010
commit
e7d7c8cc2f
2
hlna.py
2
hlna.py
@ -518,7 +518,7 @@ def start_stop(action, g, m, b):
|
||||
names_serverstart = choose_map(names_serverstart)
|
||||
for i in names_serverstart:
|
||||
data = read_yaml(i)
|
||||
y = os.system(f"~/git/hln-a/hlna.py rcon SaveWorld -m {i}") if action == ("restart", "stop") else ""
|
||||
y = os.system(f"~/git/hln-a/hlna.py rcon SaveWorld -m {i}") if action == "restart" or action == "stop" else ""
|
||||
x = os.system(f"systemctl --user {action} ark_{data['SessionName'].lower()}.service")
|
||||
print_line(y)
|
||||
if x == 0:
|
||||
|
Loading…
Reference in New Issue
Block a user