summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/SiteSpecific/JoeySites.hs
diff options
context:
space:
mode:
authorJoey Hess2015-10-22 13:10:34 -0400
committerJoey Hess2015-10-22 13:10:34 -0400
commitf651e3cad11a9834bebf3e7c3fde85ef559f8f48 (patch)
tree8c8878e543a15c68af44a2ec51f618e3c9fa0ad6 /src/Propellor/Property/SiteSpecific/JoeySites.hs
parent7fdf17f070d2a5cd9814de1a658e6afe176caf4b (diff)
seems the rsync systemd service ships disabled by default
So many hoops to run a daemon..
Diffstat (limited to 'src/Propellor/Property/SiteSpecific/JoeySites.hs')
-rw-r--r--src/Propellor/Property/SiteSpecific/JoeySites.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs
index e8d8aef3..70d5884f 100644
--- a/src/Propellor/Property/SiteSpecific/JoeySites.hs
+++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs
@@ -15,6 +15,7 @@ import qualified Propellor.Property.User as User
import qualified Propellor.Property.Obnam as Obnam
import qualified Propellor.Property.Apache as Apache
import qualified Propellor.Property.Postfix as Postfix
+import qualified Propellor.Property.Systemd as Systemd
import Utility.FileMode
import Data.List
@@ -346,6 +347,7 @@ gitAnnexDistributor = combineProperties "git-annex distributor, including rsync
`onChange` Service.restarted "rsync"
& "/etc/default/rsync" `File.containsLine` "RSYNC_ENABLE=true"
`onChange` Service.running "rsync"
+ & Systemd.enabled "rsync"
& endpoint "/srv/web/downloads.kitenet.net/git-annex/autobuild"
& endpoint "/srv/web/downloads.kitenet.net/git-annex/autobuild/x86_64-apple-yosemite"
& endpoint "/srv/web/downloads.kitenet.net/git-annex/autobuild/windows"