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