about summary refs log tree commit diff
path: root/users/edef
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-06-06T10·33+0200
committersterni <sternenseemann@systemli.org>2022-11-26T15·38+0000
commit6ef6e9c97f7fbcb368940fb56530075e2023498e (patch)
tree48bdd79f49fa12c989dd88103df80ef194ad2e92 /users/edef
parent3b6bdc8c72057434859f3520a8cead42cc6cfb19 (diff)
feat(sterni/modules): module for fabric minecraft servers r/5334
This adds the module I've been using for running my minecraft servers.
It is inspired by the declarative minecraft server module in nixpkgs,
but

* does not support a non-declarative mode.

* supports more than one server on the same machine.

* patches the fabric mod loader into the server.jar on startup.

* its stopping mechanism is more robust: It issues a `save-all` and
  `stop` command over RCON and uses flock(1) for waiting on the
  server's shutdown instead of relying on checking for the PID
  via kill(1) in a loop.

It has some gaps in terms of features that I personally don't need, but
can be filled in over time.

Change-Id: I31b9139cab41a6398e5a08ecc72be33cd021ed2e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7291
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/edef')
0 files changed, 0 insertions, 0 deletions