add systemd-tmpfile configuration for the minecraft state directory

This commit is contained in:
Charlotte 🦝 Delenk 2022-02-19 21:23:01 +01:00
parent e8ebc51228
commit e29559d6ad
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -105,5 +105,8 @@ in
isSystemUser = true;
};
users.groups.minecraft = { };
systemd.tmpfiles.rules = [
"d '${cfg.stateDir}' 0750 minecraft minecraft - -"
];
};
}