From 8452a0c3c3a13dbc347c2ecca2993856f751a920 Mon Sep 17 00:00:00 2001 From: xpamych Date: Sat, 13 May 2023 18:49:54 +0300 Subject: [PATCH] 1 --- hlna.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hlna.py b/hlna.py index ad1aee6..2fac1da 100755 --- a/hlna.py +++ b/hlna.py @@ -328,7 +328,7 @@ def systemd_unit_create(game, config_7days="", name_server=list_config): # сюда дописать обращение к xml для получения уникального имени сервера unit_dir_server = dir_server_7days systemd_unit_exec = f"{dir_server_7days}startserver.sh -configfile={config_7days}.xml" - unit_file = f"{dir_config}7days.service".lower() + unit_file = f"{dir_unit}7days.service".lower() unit_text = f'''[Unit] Description={game}: Server