diff options
| author | Joey Hess <joey@kitenet.net> | 2014-04-13 18:50:16 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-04-13 18:50:16 -0400 |
| commit | 774f6600ebf6fc2650206200f74d39f65751a9ff (patch) | |
| tree | e546a3c44035086ff0686821b2d6adbe74373a51 | |
| parent | 45dee149e57446daa29c3cd7542f645291b1c271 (diff) | |
propellor spin
| -rw-r--r-- | config-joey.hs | 4 |
1 files changed, 3 insertions, 1 deletions
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" |
