summaryrefslogtreecommitdiff
path: root/config-joey.hs
diff options
context:
space:
mode:
authorJoey Hess2015-02-08 15:51:55 -0400
committerJoey Hess2015-02-08 15:51:55 -0400
commit5781da55bcb641a9728dc7aea94c80380a8060f2 (patch)
tree18e4f1eb65ce079ce2538fa1ea6d394d52995047 /config-joey.hs
parenta5fd8ed9b5efd1743800aefcff90cf6ace36f004 (diff)
propellor spin
Diffstat (limited to 'config-joey.hs')
-rw-r--r--config-joey.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/config-joey.hs b/config-joey.hs
index 4b8ec46c..bac02cc3 100644
--- a/config-joey.hs
+++ b/config-joey.hs
@@ -221,6 +221,7 @@ diatom = standardSystem "diatom.kitenet.net" (Stable "wheezy") "amd64"
-- Diatom has 500 mb of memory, so tune for that.
& JoeySites.obnamLowMem
& Apt.serviceInstalledRunning "swapspace"
+ & Cron.job "memory use logged" (Cron.Times "*/5 * * * *") "root" "/" "(date; free; ps --sort -rss axl | head -n10) >> /var/log/memory.log"
& Apt.serviceInstalledRunning "apache2"
& JoeySites.kitenetHttps