add wantedBy and after to module

This commit is contained in:
Aaron Bieber 2024-07-07 07:21:04 -06:00
parent 450ad2975f
commit b6629618e9
No known key found for this signature in database

View File

@ -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}"; };