fix systemd unit's dependencies

This commit is contained in:
Aaron Bieber 2024-06-12 10:12:40 -06:00
parent 58c37293bd
commit 9dc7bf5360
No known key found for this signature in database

View File

@ -49,8 +49,7 @@ in {
systemd.services.mcchunkie = {
enable = true;
description = "mcchunkie server";
wantedBy = [ "network-online.target" ];
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
environment = { HOME = "${cfg.dataDir}"; };