From 8e7b296e820e7513c7846ceeb3fbd87d60bc95f4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 30 Mar 2014 13:12:33 -0400 Subject: split out Property.FIle --- Property/Tor.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Property/Tor.hs') 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" -- cgit v1.3-2-g0d8e