summaryrefslogtreecommitdiff
path: root/Propellor
diff options
context:
space:
mode:
authorJoey Hess2014-04-21 01:00:59 -0400
committerJoey Hess2014-04-21 01:00:59 -0400
commit7d59a568a3dcc9649c4d12239d01ab92a2b8ef1f (patch)
treee959eeecedb60f1e363f3ddb03d62e99e121f927 /Propellor
parentb5ab37ad5bda2eed62a1236cf067ab23a5f59164 (diff)
propellor spin
Diffstat (limited to 'Propellor')
-rw-r--r--Propellor/Property/SiteSpecific/JoeySites.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Propellor/Property/SiteSpecific/JoeySites.hs b/Propellor/Property/SiteSpecific/JoeySites.hs
index fa8a4c6d..74c47be7 100644
--- a/Propellor/Property/SiteSpecific/JoeySites.hs
+++ b/Propellor/Property/SiteSpecific/JoeySites.hs
@@ -115,6 +115,16 @@ mumbleServer hosts = combineProperties "mumble.debian.net"
, Apt.serviceInstalledRunning "mumble-server"
]
+obnamLowMem :: Property
+obnamLowMem = propertyList "obnam tuned for low memory use"
+ [ Obnam.latestVersion
+ , "/etc/obnam.conf" `File.containsLines`
+ [ "# Suggested by liw to keep Obnam memory consumption down (at some speed cost)."
+ , "upload-queue-size = 128"
+ , "lru-size = 128"
+ ]
+ ]
+
-- git.kitenet.net and git.joeyh.name
gitServer :: [Host] -> Property
gitServer hosts = propertyList "git.kitenet.net setup"