summaryrefslogtreecommitdiff
path: root/Property/Tor.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Property/Tor.hs')
-rw-r--r--Property/Tor.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Property/Tor.hs b/Property/Tor.hs
index b26ba68e..7f7e7245 100644
--- a/Property/Tor.hs
+++ b/Property/Tor.hs
@@ -2,12 +2,13 @@ module Property.Tor where
import Property
import Utility.SafeCommand
+import qualified Property.File as File
import qualified Property.Apt as Apt
isBridge :: Property
isBridge = setup `requires` Apt.installed ["tor"]
where
- setup = fileHasContent "/etc/tor/torrc"
+ setup = "/etc/tor/torrc" `File.hasContent`
[ "SocksPort 0"
, "ORPort 443"
, "BridgeRelay 1"