ops: cross-reference authelia unit literals in both split files
This commit is contained in:
parent
ba56bfe32e
commit
4181d33cad
1 changed files with 2 additions and 0 deletions
|
|
@ -93,6 +93,8 @@ let
|
|||
# user, group and StateDirectory from the instance name
|
||||
# (`authelia` + `-<name>`). Naming them here rather than repeating the
|
||||
# literal keeps the generator unit below and the module in step.
|
||||
# ./swarm-authelia-service.nix binds the same two names for `unit`;
|
||||
# the two must agree.
|
||||
instance = "swarm";
|
||||
unitName = "authelia-${instance}";
|
||||
stateDir = "/var/lib/${unitName}";
|
||||
|
|
|
|||
Loading…
Reference in a new issue