From cf50f8c7d35497509d592dd309906503c8d994e5 Mon Sep 17 00:00:00 2001 From: Stefan Joosten Date: Tue, 23 Aug 2016 20:34:32 +0200 Subject: Fix issue #1. Rewrote parts of Egbert Verhage's patches. Thank you again for the work. This work adds the possibility to generate a INI-style configuration file for the TeamSpeak 3 Server. The scope is limited to creating and use of the INI config file, and ability to configure network settings, the machine ID and default creation of the first virtual server. More features can follow soon after. --- templates/teamspeak3-server.service.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/teamspeak3-server.service.j2') diff --git a/templates/teamspeak3-server.service.j2 b/templates/teamspeak3-server.service.j2 index 03a8be3..485084e 100644 --- a/templates/teamspeak3-server.service.j2 +++ b/templates/teamspeak3-server.service.j2 @@ -7,8 +7,8 @@ Type=simple User={{ teamspeak.user }} Group={{ teamspeak.user }} WorkingDirectory={{ teamspeak.home }}/{{ teamspeak.symlink }}/teamspeak3-server_linux_amd64 -{% if teamspeak.ini_file is not none %} -ExecStart={{ teamspeak.home }}/{{ teamspeak.symlink }}/teamspeak3-server_linux_amd64/ts3server_minimal_runscript.sh inifile={{ teamspeak.ini_file }} +{% if teamspeak_ini_enabled %} +ExecStart={{ teamspeak.home }}/{{ teamspeak.symlink }}/teamspeak3-server_linux_amd64/ts3server_minimal_runscript.sh inifile={{ teamspeak_ini_filename }} {% else %} ExecStart={{ teamspeak.home }}/{{ teamspeak.symlink }}/teamspeak3-server_linux_amd64/ts3server_minimal_runscript.sh {% endif %} -- cgit v1.2.3-70-g09d2