3
0
Fork 0
forked from mirrors/nixpkgs

nixos/zeronet: fix systemd after

This commit is contained in:
Francesco Gazzetta 2022-05-21 18:34:10 +02:00 committed by Dmitry Kalinkin
parent 183e391256
commit 6bb9d0ce3b

View file

@ -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 = {