From 677ce2d28f256bcd08964739c5e26990523d173a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 12 Mar 2015 16:46:52 -0400 Subject: [PATCH] propellor spin --- src/Propellor/Property/SiteSpecific/JoeySites.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index e575e79..b3ff58b 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -44,6 +44,7 @@ scrollBox = propertyList "scroll server" $ props , "cd " ++ d , "mkdir -p tmp" , "TMPDIR= t=$(tempfile -d tmp)" + , "export t" , "rm -f \"$t\"" , "mkdir \"$t\"" , "cd \"$t\"" @@ -59,7 +60,7 @@ scrollBox = propertyList "scroll server" $ props , "echo Your game was recorded, as ID:$(basename \"$t\")" , "echo if you would like to talk about how it went, email scroll@joeyh.name" , "echo 'or, type comments below (finish with a dot on its own line)'" - , "mail joey@kitenet.net" + , "mail -s \"scroll test $t\" 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