remove duplicate socket

This commit is contained in:
chaos 2024-08-08 18:40:52 +01:00
parent aca8be0cbb
commit dd5663bfd5
No known key found for this signature in database

View file

@ -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