diff options
| author | Joey Hess <joeyh@joeyh.name> | 2016-03-18 23:07:47 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2016-03-18 23:07:47 -0400 |
| commit | 2563624a77b4058d6b96ce0f099b2bee476fe359 (patch) | |
| tree | c97020be52844a1eb4fd46ffcbb834e0122c65e2 /src/Propellor/Property/Tor.hs | |
| parent | ae5208110ea48e747112e47478d430ea93cd4e15 (diff) | |
propellor spin
Diffstat (limited to 'src/Propellor/Property/Tor.hs')
| -rw-r--r-- | src/Propellor/Property/Tor.hs | 6 |
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 |
