propellor spin

This commit is contained in:
Joey Hess 2015-03-11 22:53:37 -04:00
parent 2e3a0465e6
commit 294f61b2b1
Failed to extract signature
1 changed files with 2 additions and 1 deletions

View File

@ -48,10 +48,11 @@ scrollBox = propertyList "scroll server" $ props
, "rm -f \"$t\""
, "mkdir \"$t\""
, "cd \"$t\""
, "SHELL=/bin/sh timeout 1d script --timing=timing -c ../../scroll/scroll"
, "SHELL=/bin/sh script --timing=timing -c ../../scroll/scroll"
, "echo Thanks for playing scroll!"
, "echo Your game was recorded, as ID:$(basename \"$t\"), if you would like to talk about how it went."
, "echo scroll@joeyh.name / http://joeyh.name/code/scroll/"
, "read me"
] `onChange` (s `File.mode` (combineModes (ownerWriteMode:readModes ++ executeModes)))
-- prevent port forwarding etc by not letting scroll log in via ssh
& Ssh.sshdConfig `File.containsLine` ("DenyUsers scroll")