summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Tor.hs
diff options
context:
space:
mode:
authorJoey Hess2017-03-24 13:56:39 -0400
committerJoey Hess2017-03-24 13:56:39 -0400
commitb738aa54eed266d72669bcdafdbba7df6bc795fa (patch)
tree47131d1ba25122e0642ef8966bc977f2b980b62c /src/Propellor/Property/Tor.hs
parent5fc482fff3dcd9c809c275856adff1851b47160d (diff)
parent4d3a3caa6bd3ebea92bdcf3122922c881a4b2a3a (diff)
Merge branch 'master' into joeyconfig
Diffstat (limited to 'src/Propellor/Property/Tor.hs')
-rw-r--r--src/Propellor/Property/Tor.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Propellor/Property/Tor.hs b/src/Propellor/Property/Tor.hs
index 710007cb..8794bc7f 100644
--- a/src/Propellor/Property/Tor.hs
+++ b/src/Propellor/Property/Tor.hs
@@ -57,6 +57,7 @@ named n = configured [("Nickname", n')]
-- and ed25519_master_id_secret_key from privdata.
torPrivKey :: Context -> Property (HasInfo + DebianLike)
torPrivKey context = mconcat (map go keyfiles)
+ `onChange` restarted
`requires` torPrivKeyDirExists
where
keyfiles = map (torPrivKeyDir </>)