add wants to the module, switch wantedBy to multi-user
This commit is contained in:
parent
3b864fc12d
commit
a11f254768
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user