From a9f60224f8c31675d941a3793de9df824aee5cc4 Mon Sep 17 00:00:00 2001 From: Robert Klotzner Date: Mon, 18 Sep 2017 14:54:32 +0200 Subject: [PATCH] coturn service: Fix coturn to properly come up (#29415) properly also in case dhcpcd being used. Without network-online.target, coturn will fail to listen on addresses that come up with dhcpcd. --- nixos/modules/services/networking/coturn.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/coturn.nix b/nixos/modules/services/networking/coturn.nix index 65273a4bf93..b3c64490d97 100644 --- a/nixos/modules/services/networking/coturn.nix +++ b/nixos/modules/services/networking/coturn.nix @@ -307,7 +307,8 @@ in { systemd.services.coturn = { description = "coturn TURN server"; - after = [ "network.target" ]; + after = [ "network-online.target" ]; + wants = [ "network-online.target" ]; wantedBy = [ "multi-user.target" ]; unitConfig = {