mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
nixos/gitlab: Document the restriction introduced on statePath
The state path now, since the transition from initialization in preStart to using systemd-tmpfiles, has the following restriction: no parent directory can be owned by any other user than root or the user specified in services.gitlab.user. This is a potentially breaking change and the cause of the error isn't immediately obvious, so document it both in the release notes and statePath description.
This commit is contained in:
parent
7e325c2251
commit
dfc43f7d0a
2 changed files with 16 additions and 1 deletions
|
@ -223,7 +223,15 @@ in {
|
|||
statePath = mkOption {
|
||||
type = types.str;
|
||||
default = "/var/gitlab/state";
|
||||
description = "Gitlab state directory, logs are stored here.";
|
||||
description = ''
|
||||
Gitlab state directory. Configuration, repositories and
|
||||
logs, among other things, are stored here.
|
||||
|
||||
The directory will be created automatically if it doesn't
|
||||
exist already. Its parent directories must be owned by
|
||||
either <literal>root</literal> or the user set in
|
||||
<option>services.gitlab.user</option>.
|
||||
'';
|
||||
};
|
||||
|
||||
backupPath = mkOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue