add wants to the module, switch wantedBy to multi-user

This commit is contained in:
Aaron Bieber 2024-07-24 09:00:16 -06:00
parent 3b864fc12d
commit a11f254768
No known key found for this signature in database

View File

@ -73,9 +73,9 @@ in {
systemd.services.pots = {
enable = true;
description = "pots server";
wantedBy = [ "network-online.target" ];
after = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];
wants = [ "network-online.target" ];
environment = { HOME = "${cfg.dataDir}"; };
serviceConfig = {