From 5c2e429650b61bee48dbf5e35a33a2f3606f8588 Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 21 Jul 2020 13:32:16 -0500 Subject: [PATCH] Remove trailing whitespace from minecraft unit --- roles/minecraft/templates/minecraft@.service | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/minecraft/templates/minecraft@.service b/roles/minecraft/templates/minecraft@.service index 4b1e221..7065330 100644 --- a/roles/minecraft/templates/minecraft@.service +++ b/roles/minecraft/templates/minecraft@.service @@ -12,15 +12,15 @@ After=network.target User=minecraft Group=mc-admin WorkingDirectory=/var/minecraft/%i -PrivateUsers=true -ProtectSystem=full -ProtectHome=true +PrivateUsers=true +ProtectSystem=full +ProtectHome=true # Implies MountFlags=slave -ProtectKernelTunables=true +ProtectKernelTunables=true # Implies NoNewPrivileges=yes -ProtectKernelModules=true +ProtectKernelModules=true # Implies MountAPIVFS=yes -ProtectControlGroups=true +ProtectControlGroups=true ExecStart=/bin/sh -c '/usr/bin/screen -DmS %i /usr/bin/java -Xms{{ mcheapmin }}M -Xmx{{ mcheapmax }}M -jar server.jar nogui'