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 = {
|
systemd.services.pots = {
|
||||||
enable = true;
|
enable = true;
|
||||||
description = "pots server";
|
description = "pots server";
|
||||||
wantedBy = [ "network-online.target" ];
|
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
wants = [ "network-online.target" ];
|
||||||
environment = { HOME = "${cfg.dataDir}"; };
|
environment = { HOME = "${cfg.dataDir}"; };
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
Loading…
Reference in New Issue
Block a user