summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/SiteSpecific/JoeySites.hs
diff options
context:
space:
mode:
authorJoey Hess2014-05-31 21:03:08 -0400
committerJoey Hess2014-05-31 21:03:08 -0400
commit2588cab6a2b8e3097fa23b3527d9fa8d9c53d903 (patch)
treec6768a2c122b2d466506edbe856a100d0c7ec033 /src/Propellor/Property/SiteSpecific/JoeySites.hs
parent67549db9e95e03c449f1ad6969605801cd731656 (diff)
parent179301f58dea22feb945004389a56662fe255138 (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor/Property/SiteSpecific/JoeySites.hs')
-rw-r--r--src/Propellor/Property/SiteSpecific/JoeySites.hs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs
index 587e16af..f6e1e37f 100644
--- a/src/Propellor/Property/SiteSpecific/JoeySites.hs
+++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs
@@ -317,3 +317,16 @@ ircBouncer = propertyList "IRC bouncer"
]
where
conf = "/home/znc/.znc/configs/znc.conf"
+
+kiteShellBox :: Property
+kiteShellBox = propertyList "kitenet.net shellinabox"
+ [ Apt.installed ["shellinabox"]
+ , File.hasContent "/etc/default/shellinabox"
+ [ "# Deployed by propellor"
+ , "SHELLINABOX_DAEMON_START=1"
+ , "SHELLINABOX_PORT=443"
+ , "SHELLINABOX_ARGS=\"--no-beep --service=/:SSH:kitenet.net\""
+ ]
+ `onChange` Service.restarted "shellinabox"
+ , Service.running "shellinabox"
+ ]