connman-vpn and connman-vpn dbus servise should start after connman service
This commit is contained in:
@@ -60,6 +60,7 @@ in {
|
|||||||
description = "ConnMan VPN service";
|
description = "ConnMan VPN service";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = [ "syslog.target" ];
|
after = [ "syslog.target" ];
|
||||||
|
before = [ "connman" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "dbus";
|
Type = "dbus";
|
||||||
BusName = "net.connman.vpn";
|
BusName = "net.connman.vpn";
|
||||||
@@ -72,6 +73,7 @@ in {
|
|||||||
description = "D-BUS Service";
|
description = "D-BUS Service";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Name = "net.connman.vpn";
|
Name = "net.connman.vpn";
|
||||||
|
before = [ "connman" ];
|
||||||
ExecStart = "${pkgs.connman}/sbin/connman-vpnd -n";
|
ExecStart = "${pkgs.connman}/sbin/connman-vpnd -n";
|
||||||
User = "root";
|
User = "root";
|
||||||
SystemdService = "connman-vpn.service";
|
SystemdService = "connman-vpn.service";
|
||||||
|
|||||||
Reference in New Issue
Block a user