make nfs + promtail dependent upon yggdrassil to stop shutdown hang

This commit is contained in:
kat witch 2021-07-07 18:12:07 +01:00
parent 040c5154de
commit b3aaf7459b
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
2 changed files with 5 additions and 0 deletions

View file

@ -20,4 +20,8 @@
fsType = "nfs";
options = [ "x-systemd.automount" "noauto" ];
};
systemd.services.nfs-mountd = {
wants = [ "network-online.target" "yggdrassil.service" ];
};
}

View file

@ -31,6 +31,7 @@ in
systemd.services.promtail = {
description = "Promtail service for Loki";
wantedBy = [ "multi-user.target" ];
wants = [ "yggdrassil.service" ];
serviceConfig = {
ExecStart = ''