propellor spin
This commit is contained in:
parent
b5ab37ad5b
commit
7d59a568a3
|
@ -115,6 +115,16 @@ mumbleServer hosts = combineProperties "mumble.debian.net"
|
||||||
, Apt.serviceInstalledRunning "mumble-server"
|
, 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
|
-- git.kitenet.net and git.joeyh.name
|
||||||
gitServer :: [Host] -> Property
|
gitServer :: [Host] -> Property
|
||||||
gitServer hosts = propertyList "git.kitenet.net setup"
|
gitServer hosts = propertyList "git.kitenet.net setup"
|
||||||
|
|
|
@ -100,6 +100,7 @@ hosts = -- (o) `
|
||||||
& Apt.unattendedUpgrades
|
& Apt.unattendedUpgrades
|
||||||
& Apt.serviceInstalledRunning "ntp"
|
& Apt.serviceInstalledRunning "ntp"
|
||||||
& Postfix.satellite
|
& Postfix.satellite
|
||||||
|
& JoeySites.obnamLowMem
|
||||||
|
|
||||||
& Apt.serviceInstalledRunning "apache2"
|
& Apt.serviceInstalledRunning "apache2"
|
||||||
& File.hasPrivContent "/etc/ssl/certs/web.pem"
|
& File.hasPrivContent "/etc/ssl/certs/web.pem"
|
||||||
|
|
Loading…
Reference in New Issue