Move mail data out of box

This will help us with putting a size on box data

Mail container version is bumped because we want to recreate it

Part of #186
This commit is contained in:
Girish Ramakrishnan
2017-01-20 15:51:01 -08:00
parent 1eb33099af
commit d84666fb43
6 changed files with 26 additions and 16 deletions
+2 -3
View File
@@ -269,11 +269,10 @@ function startMail(callback) {
--net-alias mail \
-m ${memoryLimit}m \
--memory-swap ${memoryLimit * 2}m \
-v "${dataDir}/box/mail:/app/data" \
-v "${dataDir}/mail:/run" \
-v "${dataDir}/mail:/app/data" \
-v "${dataDir}/addons/mail:/etc/mail" \
${ports} \
--read-only -v /tmp ${tag}`;
--read-only -v /run -v /tmp ${tag}`;
shell.execSync('startMail', cmd);