propellor spin

This commit is contained in:
Joey Hess 2015-03-12 16:43:09 -04:00
parent 33dbcf06b0
commit 82e8311fc5
Failed to extract signature
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ scrollBox = propertyList "scroll server" $ props
, "echo 'or, type comments below (finish with a dot on its own line)'"
, "mail joey@kitenet.net"
] `onChange` (g `File.mode` (combineModes (ownerWriteMode:readModes ++ executeModes)))
& Apt.installed ["bsd-mailx"]
-- prevent port forwarding etc by not letting scroll log in via ssh
& Ssh.sshdConfig `File.containsLine` ("DenyUsers scroll")
`onChange` Ssh.restarted