summaryrefslogtreecommitdiff
path: root/Property
diff options
context:
space:
mode:
authorJoey Hess2014-03-30 01:18:35 -0400
committerJoey Hess2014-03-30 01:18:35 -0400
commited529831469f10acf04bcf01811159ec982a066d (patch)
tree6662a28d61e8da61c3c935e69f5e021768fcdd82 /Property
parent3940f2cbde7a7ca220be932abb58f1c1a99c9b26 (diff)
fix ssh restart
Diffstat (limited to 'Property')
-rw-r--r--Property/Ssh.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Property/Ssh.hs b/Property/Ssh.hs
index ce9c171b..c5902d94 100644
--- a/Property/Ssh.hs
+++ b/Property/Ssh.hs
@@ -38,7 +38,7 @@ hasAuthorizedKeys = go <=< homedir
(readFile $ home </> ".ssh" </> "authorized_keys")
restartSshd :: Property
-restartSshd = cmdProperty "service" [Param "sshd", Param "restart"]
+restartSshd = cmdProperty "service" [Param "ssh", Param "restart"]
{- Blow away existing host keys and make new ones. Use a flag
- file to prevent doing this more than once. -}