diff --git a/hlna.py b/hlna.py index 00ab10d..02d7580 100755 --- a/hlna.py +++ b/hlna.py @@ -392,7 +392,8 @@ def yaml_create(game, dir_server="", cluster_server="", map_s="", name_server="" with open(path_yaml, 'w') as yamlfile: yaml.dump(settings, yamlfile) print(colorama.Fore.GREEN + "Конфиг создан" + colorama.Style.RESET_ALL) - systemd_unit_create(game) + if game != "path_server": + systemd_unit_create(game) def systemd_unit_create(game, config_7days="", name_server=list_config):