From 06f90c6ffcbb96a935363deebd70506dcd274165 Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Sun, 10 Feb 2013 20:29:17 +0200 Subject: [PATCH] Tor-privoxy: quick and dirty fix for activation under systemd --- modules/services/security/tor.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/services/security/tor.nix b/modules/services/security/tor.nix index bad6be54e891..ebbe15695763 100644 --- a/modules/services/security/tor.nix +++ b/modules/services/security/tor.nix @@ -252,8 +252,8 @@ in // optionalAttrs (cfg.client.privoxy.enable && cfg.client.enable) { torPrivoxy = { name = "tor-privoxy"; - startOn = "starting tor"; - stopOn = "stopping tor"; + startOn = "started network-interfaces"; + stopOn = "stopping network-interfaces"; preStart = '' mkdir -m 0755 -p ${privoxyDir}