summaryrefslogtreecommitdiff
path: root/config-joey.hs
diff options
context:
space:
mode:
Diffstat (limited to 'config-joey.hs')
-rw-r--r--config-joey.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/config-joey.hs b/config-joey.hs
index 254e810a..698bb3c3 100644
--- a/config-joey.hs
+++ b/config-joey.hs
@@ -19,6 +19,7 @@ import qualified Propellor.Property.Docker as Docker
import qualified Propellor.Property.Git as Git
import qualified Propellor.Property.Apache as Apache
import qualified Propellor.Property.Postfix as Postfix
+import qualified Propellor.Property.Service as Service
import qualified Propellor.Property.SiteSpecific.GitHome as GitHome
import qualified Propellor.Property.SiteSpecific.GitAnnexBuilder as GitAnnexBuilder
import qualified Propellor.Property.SiteSpecific.JoeySites as JoeySites
@@ -73,6 +74,11 @@ hosts = -- (o) `
& Docker.garbageCollected `period` Daily
& Apt.installed ["git-annex", "mtr", "screen"]
+
+ -- Nothing is using https on clam, so listen on that port
+ -- for ssh, for traveling on bad networks.
+ & "/etc/ssh/sshd_config" `File.containsLine` "Port 443"
+ `onChange` Service.restarted "ssh"
-- Orca is the main git-annex build box.
, standardSystem "orca.kitenet.net" Unstable "amd64"