From 4f0e6f22d8f8c0bffc7ebda500ba4e013850a97a Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 23 Aug 2020 23:40:24 -0500 Subject: [PATCH] Fix incorrect unit binary path --- roles/tes3mp/tasks/main.yml | 1 + roles/tes3mp/templates/tes3mp@.service | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/tes3mp/tasks/main.yml b/roles/tes3mp/tasks/main.yml index 0210930..6c0c216 100644 --- a/roles/tes3mp/tasks/main.yml +++ b/roles/tes3mp/tasks/main.yml @@ -8,6 +8,7 @@ - name: Install required packages apt: name: + - libgl1 - libluajit-5.1-2 - name: Create user user: diff --git a/roles/tes3mp/templates/tes3mp@.service b/roles/tes3mp/templates/tes3mp@.service index ff3ce8f..f0a510f 100644 --- a/roles/tes3mp/templates/tes3mp@.service +++ b/roles/tes3mp/templates/tes3mp@.service @@ -21,7 +21,7 @@ ProtectKernelModules=true # Implies MountAPIVFS=yes ProtectControlGroups=true -ExecStart=/bin/sh -c '{{ tes3mp.dest }}/{{ tes3mp.name }}/tes3mp-server' +ExecStart=/bin/sh -c '{{ tes3mp.dest }}/{{ tes3mp.name }}/TES3MP-server/tes3mp-server' Restart=on-failure