summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Tor.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property/Tor.hs')
-rw-r--r--src/Propellor/Property/Tor.hs6
1 files changed, 5 insertions, 1 deletions
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