add systemd-tmpfile configuration for the minecraft state directory
This commit is contained in:
parent
e8ebc51228
commit
e29559d6ad
1 changed files with 3 additions and 0 deletions
|
@ -105,5 +105,8 @@ in
|
|||
isSystemUser = true;
|
||||
};
|
||||
users.groups.minecraft = { };
|
||||
systemd.tmpfiles.rules = [
|
||||
"d '${cfg.stateDir}' 0750 minecraft minecraft - -"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue