This commit is contained in:
Евгений Храмов 2023-05-14 18:41:33 +03:00
parent b45b8de1ee
commit 4e50ae7673

@ -394,11 +394,11 @@ def yaml_create(game, dir_server="", cluster_server="", map_s="", name_server=""
} }
] ]
systemd_unit_create(game)
with open(path_yaml, 'w') as yamlfile: with open(path_yaml, 'w') as yamlfile:
yaml.dump(settings, yamlfile) yaml.dump(settings, yamlfile)
print(colorama.Fore.GREEN + "Конфиг создан" + colorama.Style.RESET_ALL) print(colorama.Fore.GREEN + "Конфиг создан" + colorama.Style.RESET_ALL)
systemd_unit_create(game)
def systemd_unit_create(game, config_7days="", name_server=list_config): def systemd_unit_create(game, config_7days="", name_server=list_config):
print_line(systemd_unit_create) print_line(systemd_unit_create)