mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
make nfs + promtail dependent upon yggdrassil to stop shutdown hang
This commit is contained in:
parent
040c5154de
commit
b3aaf7459b
2 changed files with 5 additions and 0 deletions
|
|
@ -20,4 +20,8 @@
|
|||
fsType = "nfs";
|
||||
options = [ "x-systemd.automount" "noauto" ];
|
||||
};
|
||||
|
||||
systemd.services.nfs-mountd = {
|
||||
wants = [ "network-online.target" "yggdrassil.service" ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ in
|
|||
systemd.services.promtail = {
|
||||
description = "Promtail service for Loki";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
wants = [ "yggdrassil.service" ];
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue