From e1f363350a81158c52ddfe38f54723551cf0c556 Mon Sep 17 00:00:00 2001 From: Rok Garbas Date: Sat, 11 Jan 2014 21:17:17 +0100 Subject: [PATCH] connman-vpn and connman-vpn dbus servise should start after connman service --- nixos/modules/services/networking/connman.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/networking/connman.nix b/nixos/modules/services/networking/connman.nix index 6e36e656830a..2b26fe88129b 100644 --- a/nixos/modules/services/networking/connman.nix +++ b/nixos/modules/services/networking/connman.nix @@ -60,6 +60,7 @@ in { description = "ConnMan VPN service"; wantedBy = [ "multi-user.target" ]; after = [ "syslog.target" ]; + before = [ "connman" ]; serviceConfig = { Type = "dbus"; BusName = "net.connman.vpn"; @@ -72,6 +73,7 @@ in { description = "D-BUS Service"; serviceConfig = { Name = "net.connman.vpn"; + before = [ "connman" ]; ExecStart = "${pkgs.connman}/sbin/connman-vpnd -n"; User = "root"; SystemdService = "connman-vpn.service";