Changing where projects are stored (AEN 4.1.3)
==============================================

.. raw:: html

    <p>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.</p>
    <p>To make aen-compute service use a different directory than <code class="docutils literal"><span class="pre">/projects</span></code> to
    store your AEN projects:</p>
    <ol class="arabic">
    <li><p class="first">Modify the <code class="docutils literal"><span class="pre">/opt/wakari/wakari-compute/etc/wakari/wk-compute-launcher-config.json</span></code> file:</p>
    <div class="highlight-bash"><div class="highlight"><pre><span></span><span class="s2">&quot;projectRoot&quot;</span> : <span class="s2">&quot;/nfs/storage/services/wakari/projects&quot;</span>,
    </pre></div>
    </div>
    <p>NOTE: The directory <code class="docutils literal"><span class="pre">/nfs/storage/services/wakari/projects</span></code> specified as
    <code class="docutils literal"><span class="pre">projectRoot</span></code> must already exist for this command to resolve properly.</p>
    </li>
    <li><p class="first">Restart the AEN compute service:</p>
    <div class="highlight-bash"><div class="highlight"><pre><span></span>sudo service wakari-compute restart
    </pre></div>
    </div>
    </li>
    </ol>
