update network-online target

b2e99477cd
This commit is contained in:
zowoq 2024-12-19 08:19:32 +10:00
parent 512dbbf68a
commit 9795fb35a0
3 changed files with 10 additions and 10 deletions
modules/nixos/monitoring

View file

@ -20,8 +20,8 @@ in
systemd.services.matrix-hook = {
description = "Matrix Hook";
after = [ config.systemd.targets.network-online.name ];
wants = [ config.systemd.targets.network-online.name ];
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
wantedBy = [ config.systemd.targets.multi-user.name ];
environment = {
HTTP_ADDRESS = "localhost";