diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-03-18 23:51:09 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-03-18 23:51:09 -0400 |
| commit | fed18bc60db2f262363cb4b802bb11ea6d881621 (patch) | |
| tree | d70c92215d04f655c017f77572f31380e3887b2f /src/Propellor/Property/Tor.hs | |
| parent | 4e14d1c881ee78539aea11040cee1f43e92b03a2 (diff) | |
Tor: Restart daemon after installing private key.
Diffstat (limited to 'src/Propellor/Property/Tor.hs')
| -rw-r--r-- | src/Propellor/Property/Tor.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Propellor/Property/Tor.hs b/src/Propellor/Property/Tor.hs index 24d5b687..849c60d0 100644 --- a/src/Propellor/Property/Tor.hs +++ b/src/Propellor/Property/Tor.hs @@ -56,6 +56,7 @@ named n = configured [("Nickname", n')] torPrivKey :: Context -> Property (HasInfo + DebianLike) torPrivKey context = f `File.hasPrivContent` context `onChange` File.ownerGroup f user (userGroup user) + `onChange` restarted `requires` torPrivKeyDirExists where f = torPrivKeyDir </> "secret_id_key" |
