diff --git a/hosts/hetzner-arm/containers/minecraft/minecraft.nix b/hosts/hetzner-arm/containers/minecraft/minecraft.nix index b42edc6..ef880dd 100644 --- a/hosts/hetzner-arm/containers/minecraft/minecraft.nix +++ b/hosts/hetzner-arm/containers/minecraft/minecraft.nix @@ -50,18 +50,6 @@ in { }; }; - systemd.sockets.minecraft-server = { - bindsTo = ["minecraft-server.service"]; - socketConfig = { - ListenFIFO = "/run/minecraft-server.stdin"; - SocketMode = "0660"; - SocketUser = "minecraft"; - SocketGroup = "minecraft"; - RemoveOnStop = true; - FlushPending = true; - }; - }; - systemd.services.minecraft-server = let stopScript = pkgs.writeShellScript "minecraft-server-stop" '' echo stop > /run/minecraft-server.stdin