forked from mirrors/nixpkgs
Merge pull request #82808 from nlewo/fix-alertmanager
nixos/alertmanager: start after the network-online target
This commit is contained in:
commit
afb035a32b
|
@ -155,7 +155,7 @@ in {
|
|||
|
||||
systemd.services.alertmanager = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
preStart = ''
|
||||
${lib.getBin pkgs.envsubst}/bin/envsubst -o "/tmp/alert-manager-substituted.yaml" \
|
||||
-i "${alertmanagerYml}"
|
||||
|
|
Loading…
Reference in a new issue