diff options
| author | Joey Hess <joey@kitenet.net> | 2014-04-21 01:00:59 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-04-21 01:00:59 -0400 |
| commit | 7d59a568a3dcc9649c4d12239d01ab92a2b8ef1f (patch) | |
| tree | e959eeecedb60f1e363f3ddb03d62e99e121f927 | |
| parent | b5ab37ad5bda2eed62a1236cf067ab23a5f59164 (diff) | |
propellor spin
| -rw-r--r-- | Propellor/Property/SiteSpecific/JoeySites.hs | 10 | ||||
| -rw-r--r-- | config-joey.hs | 1 |
2 files changed, 11 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" diff --git a/config-joey.hs b/config-joey.hs index f0aaba54..e95e05d4 100644 --- a/config-joey.hs +++ b/config-joey.hs @@ -100,6 +100,7 @@ hosts = -- (o) ` & Apt.unattendedUpgrades & Apt.serviceInstalledRunning "ntp" & Postfix.satellite + & JoeySites.obnamLowMem & Apt.serviceInstalledRunning "apache2" & File.hasPrivContent "/etc/ssl/certs/web.pem" |
