From 2563624a77b4058d6b96ce0f099b2bee476fe359 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 18 Mar 2016 23:07:47 -0400 Subject: propellor spin --- src/Propellor/Property/Tor.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/Propellor/Property') diff --git a/src/Propellor/Property/Tor.hs b/src/Propellor/Property/Tor.hs index f7cb6c89..0c040f95 100644 --- a/src/Propellor/Property/Tor.hs +++ b/src/Propellor/Property/Tor.hs @@ -73,9 +73,13 @@ torPrivKeyDir = "/var/lib/tor/keys" -- Don't use if you just want to run tor for personal use. server :: Property NoInfo server = configured [("SocksPort", "0")] - `requires` Apt.installed ["tor", "ntp"] + `requires` installed + `requires` Apt.installed ["ntp"] `describe` "tor server" +installed :: Property NoInfo +installed = Apt.installed ["tor"] + -- | Specifies configuration settings. Any lines in the config file -- that set other values for the specified settings will be removed, -- while other settings are left as-is. Tor is restarted when -- cgit v1.2.3