diff options
| author | Joey Hess <joey@kitenet.net> | 2014-03-30 13:12:33 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-03-30 13:12:33 -0400 |
| commit | 8e7b296e820e7513c7846ceeb3fbd87d60bc95f4 (patch) | |
| tree | 4eb80ad32b42ee871f5704cd1af99baf9e8cacc6 /Property/Tor.hs | |
| parent | e741b7b82e0b5be2809d1da7f54d8b0fcd0449e3 (diff) | |
split out Property.FIle
Diffstat (limited to 'Property/Tor.hs')
| -rw-r--r-- | Property/Tor.hs | 3 |
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" |
