From 055325d4f49dca7a2e8fa53851d83ac7d8633af3 Mon Sep 17 00:00:00 2001 From: sam-banks Date: Wed, 1 Nov 2017 12:13:16 +1300 Subject: [PATCH] Bugfix for free command A quick fix - there's no "o" option for free. --- setup/mail-dovecot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/mail-dovecot.sh b/setup/mail-dovecot.sh index c1b07127..6c737197 100755 --- a/setup/mail-dovecot.sh +++ b/setup/mail-dovecot.sh @@ -46,7 +46,7 @@ apt_install \ # - https://www.dovecot.org/list/dovecot/2011-December/132455.html tools/editconf.py /etc/dovecot/conf.d/10-master.conf \ default_process_limit=$(echo "`nproc` * 250" | bc) \ - default_vsz_limit=$(echo "`free -tom | tail -1 | awk '{print $2}'` / 3" | bc)M \ + default_vsz_limit=$(echo "`free -tm | tail -1 | awk '{print $2}'` / 3" | bc)M \ log_path=/var/log/mail.log # The inotify `max_user_instances` default is 128, which constrains