add wantedBy and after to module
This commit is contained in:
parent
450ad2975f
commit
b6629618e9
@ -72,6 +72,8 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
description = "kogs server";
|
description = "kogs server";
|
||||||
wants = [ "network-online.target" ];
|
wants = [ "network-online.target" ];
|
||||||
|
after = [ "network-online.target" ];
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|
||||||
environment = { HOME = "${cfg.dataDir}"; };
|
environment = { HOME = "${cfg.dataDir}"; };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user