add after and wantedBy to service
This commit is contained in:
parent
8c6316398a
commit
2cee88ad7c
@ -49,7 +49,9 @@ in {
|
||||
systemd.services.mcchunkie = {
|
||||
enable = true;
|
||||
description = "mcchunkie server";
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
environment = { HOME = "${cfg.dataDir}"; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user