tvl-depot/users/sterni/modules
sterni 6501ee194b fix(minecraft-fabric): avoid unset CREDENTIALS_DIRECTORY in ExecStop
For mystifying reasons, Type=simple and CREDENTIALS_DIRECTORY in
ExecStop have stopped working (when exactly I don't know, but presumably
256). Apparently, you are supposed to use Type=exec with credentials due
to raciness (I've personally never experienced):
<https://github.com/systemd/systemd/issues/32583>.

Just changing the type did not resolve the issue of
CREDENTIALS_DIRECTORY being unset, though. It appears, though, that the
issue is merely an unset environment variable and not the credentials
being unavailable: We can work around the problem by setting an
appropriate environment variable ourselves.

Change-Id: Ifcdb1f3bce782ea1c568a9bc413f3fb29f0985c5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12649
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: sterni <sternenseemann@systemli.org>
2024-10-17 16:55:38 +00:00
..
backup-minecraft-fabric.nix refactor(sterni/backup-minecraft-fabric): use systemd-creds 2024-09-06 21:43:55 +00:00
common.nix feat(sterni/machines/ingeborg): switch to quassel 2024-04-27 10:38:57 +00:00
default.nix feat(sterni/modules): module for fabric minecraft servers 2022-11-26 15:38:28 +00:00
minecraft-fabric.nix fix(minecraft-fabric): avoid unset CREDENTIALS_DIRECTORY in ExecStop 2024-10-17 16:55:38 +00:00