mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-02-22 04:45:29 +08:00
Wait for local-fs.target in sops-install-secrets.service
This commit is contained in:
parent
d1e085258f
commit
f1feaac026
1 changed files with 1 additions and 1 deletions
|
|
@ -467,7 +467,7 @@ in
|
|||
# When using sysusers we no longer are started as an activation script because those are started in initrd while sysusers is started later.
|
||||
systemd.services.sops-install-secrets = lib.mkIf (regularSecrets != { } && cfg.useSystemdActivation) {
|
||||
wantedBy = [ "sysinit.target" ];
|
||||
after = [ "systemd-sysusers.service" "userborn.service" ];
|
||||
after = [ "local-fs.target" "systemd-sysusers.service" "userborn.service" ];
|
||||
requiredBy = [ "sysinit-reactivation.target" ];
|
||||
before = [ "sysinit-reactivation.target" ];
|
||||
environment = cfg.environment;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue