src.nth.io/

summaryrefslogtreecommitdiff
path: root/minecraft/templates/minecraft.service.j2
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-06-07 21:56:03 -0500
committerLuke Hoersten <[email protected]>2020-06-07 21:56:03 -0500
commit5506408a9f119b8b2dedb98788bc53742a697ca7 (patch)
tree415ce32f9e28c80a5373552e086c51896a81ac28 /minecraft/templates/minecraft.service.j2
parent370da62d4f62c54ce6e393622d5c9baff9e52789 (diff)
Deleted vanilla minecraft in favor of papermc.
Diffstat (limited to 'minecraft/templates/minecraft.service.j2')
-rw-r--r--minecraft/templates/minecraft.service.j222
1 files changed, 0 insertions, 22 deletions
diff --git a/minecraft/templates/minecraft.service.j2 b/minecraft/templates/minecraft.service.j2
deleted file mode 100644
index d310634..0000000
--- a/minecraft/templates/minecraft.service.j2
+++ /dev/null
@@ -1,22 +0,0 @@
-[Unit]
-Description=Minecraft Server
-Documentation=https://minecraft.gamepedia.com/Tutorials/Setting_up_a_server
-
-Wants=network.target
-After=network.target
-
-[Service]
-User={{minecraft_user}}
-Group={{minecraft_user}}
-WorkingDirectory={{minecraft_dir}}
-Restart=on-failure
-RestartSec=20 5
-ExecStart=/usr/bin/java -Xms1536M -Xmx1536M -jar server.jar nogui
-
-PrivateTmp=true
-ProtectSystem=full
-NoNewPrivileges=true
-PrivateDevices=true
-
-[Install]
-WantedBy=multi-user.target