From 774f6600ebf6fc2650206200f74d39f65751a9ff Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 13 Apr 2014 18:50:16 -0400 Subject: propellor spin --- config-joey.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config-joey.hs b/config-joey.hs index d277fc26..ca1c2205 100644 --- a/config-joey.hs +++ b/config-joey.hs @@ -17,6 +17,7 @@ import qualified Propellor.Property.Dns as Dns import qualified Propellor.Property.OpenId as OpenId import qualified Propellor.Property.Docker as Docker import qualified Propellor.Property.Git as Git +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 @@ -90,8 +91,9 @@ hosts = & Apt.installed ["rsync"] & File.hasPrivContent "/etc/rsyncd.conf" & File.hasPrivContent "/etc/rsyncd.secrets" - & "/etc/default/rsync" `File.containsLine` "" + & "/etc/default/rsync" `File.containsLine` "RSYNC_ENABLE=true" `describe` "rsync server enabled" + `onChange` Service.running "rsync" & cname "tmp.kitenet.net" & JoeySites.annexWebSite hosts "/srv/git/joey/tmp.git" -- cgit v1.3-2-g0d8e