==================================
Changing where projects are stored
==================================

NOTE: We recommend putting ``/opt/wakari`` and ``/projects`` on the same
filesystem. If the project and conda env directories are on separate
filesystems then more disk space will be required on compute nodes and
performance will be worse.

To make aen-compute service use a different directory than ``/projects`` to
store your AEN projects:

#. Modify the ``/opt/wakari/wakari-compute/etc/wakari/wk-compute-launcher-config.json`` file:

   .. code-block:: bash

      "projectRoot" : "/nfs/storage/services/wakari/projects",

   NOTE: The directory ``/nfs/storage/services/wakari/projects`` specified as
   ``projectRoot`` must already exist for this command to resolve properly.

#. Restart the AEN compute service:

   .. code-block:: bash

      sudo service wakari-compute restart
