about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRok Garbas <rok@garbas.si>2014-01-11 21:17:17 +0100
committerRok Garbas <rok@garbas.si>2014-01-11 21:17:17 +0100
commite1f363350a81158c52ddfe38f54723551cf0c556 (patch)
treebf2bb03847aa099b17e20ec014daa27fe682a5cb
parent7d4d3536f72ca0bd4854fad76dd072cf21186938 (diff)
downloadnixlib-e1f363350a81158c52ddfe38f54723551cf0c556.tar
nixlib-e1f363350a81158c52ddfe38f54723551cf0c556.tar.gz
nixlib-e1f363350a81158c52ddfe38f54723551cf0c556.tar.bz2
nixlib-e1f363350a81158c52ddfe38f54723551cf0c556.tar.lz
nixlib-e1f363350a81158c52ddfe38f54723551cf0c556.tar.xz
nixlib-e1f363350a81158c52ddfe38f54723551cf0c556.tar.zst
nixlib-e1f363350a81158c52ddfe38f54723551cf0c556.zip
connman-vpn and connman-vpn dbus servise should start after connman service
-rw-r--r--nixos/modules/services/networking/connman.nix2
1 files changed, 2 insertions, 0 deletions
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";