This is an automated email from the ASF dual-hosted git repository.

vvraskin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new 8f8863c  Document OPENWHISK_TMP_DIR usage (#3871)
8f8863c is described below

commit 8f8863c5db68634eef32be5b4a694a8081e6e470
Author: James Dubee <jwdu...@us.ibm.com>
AuthorDate: Thu Jul 26 15:12:02 2018 -0400

    Document OPENWHISK_TMP_DIR usage (#3871)
    
    * Document OPENWHISK_TMP_DIR usage with Docker for Mac
    
    * Add info for Linux
---
 ansible/README.md | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/ansible/README.md b/ansible/README.md
index ec7d086..04cf9ff 100644
--- a/ansible/README.md
+++ b/ansible/README.md
@@ -68,10 +68,14 @@ In all instructions, replace `<environment>` with your 
target environment. The d
 Docker for Mac. To use the default environment, you may omit the `-i` 
parameter entirely. For older Mac installation using Docker Machine,
 use `-i environments/docker-machine`.
 
-
-
 In all instructions, replace `<openwhisk_home>` with the base directory of 
your OpenWhisk source tree. e.g. `openwhisk`
 
+#### Preserving configuration and log directories on reboot
+When using the local Ansible environment, configuration and log data is stored 
in `/tmp` by default. However, operating
+system such as Linux and Mac clean the `/tmp` directory on reboot, resulting 
in failures when OpenWhisk tries to start
+up again. To avoid this problem, export the `OPENWHISK_TMP_DIR` variable 
assigning it the path to a persistent
+directory before deploying OpenWhisk.
+
 #### Setup
 
 The following step must be executed once per development environment.

Reply via email to