forked from mirrors/nixpkgs
nixos/zeronet: fix systemd after
This commit is contained in:
parent
183e391256
commit
6bb9d0ce3b
|
@ -79,7 +79,7 @@ in with lib; {
|
|||
|
||||
systemd.services.zeronet = {
|
||||
description = "zeronet";
|
||||
after = [ "network.target" (optionalString cfg.tor "tor.service") ];
|
||||
after = [ "network.target" ] ++ optional cfg.tor "tor.service";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
serviceConfig = {
|
||||
|
|
Loading…
Reference in a new issue