From 8f84cd821701bbfe79c3ecd110d22a10214dd645 Mon Sep 17 00:00:00 2001 From: Tharre Date: Tue, 20 Feb 2018 02:38:41 +0100 Subject: Vastly simplify and refactor the tasks This mainly includes the complete removal of all the logic involved with storing and deleting multiple versions of teamspeak, which is pointless. All the backup logic has been removed as well, because it is both easier and simpler to just rsync (or the ansible equivalent) the hole ts3 folder over to the target machine. --- templates/teamspeak3-server.service.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/teamspeak3-server.service.j2') diff --git a/templates/teamspeak3-server.service.j2 b/templates/teamspeak3-server.service.j2 index 485084e..6f300c5 100644 --- a/templates/teamspeak3-server.service.j2 +++ b/templates/teamspeak3-server.service.j2 @@ -6,11 +6,11 @@ After=network.target Type=simple User={{ teamspeak.user }} Group={{ teamspeak.user }} -WorkingDirectory={{ teamspeak.home }}/{{ teamspeak.symlink }}/teamspeak3-server_linux_amd64 +WorkingDirectory={{ teamspeak.home }} {% if teamspeak_ini_enabled %} -ExecStart={{ teamspeak.home }}/{{ teamspeak.symlink }}/teamspeak3-server_linux_amd64/ts3server_minimal_runscript.sh inifile={{ teamspeak_ini_filename }} +ExecStart={{ teamspeak.home }}/ts3server_minimal_runscript.sh inifile={{ teamspeak_ini_filename }} {% else %} -ExecStart={{ teamspeak.home }}/{{ teamspeak.symlink }}/teamspeak3-server_linux_amd64/ts3server_minimal_runscript.sh +ExecStart={{ teamspeak.home }}/ts3server_minimal_runscript.sh {% endif %} [Install] -- cgit v1.2.3-70-g09d2