=====================================
Terminate terminal sessions on logout
=====================================


By default, when a user logs out, their open terminal sessions will remain active.

To disable this behavior:


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

   .. code-block:: bash

      "TERMINATE_TERMINALS_ON_LOGOUT": true,


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

   .. code-block:: bash

      "TERMINATE_TERMINALS_ON_LOGOUT": true,

#. Restart the AEN server service:

   .. code-block:: bash

      sudo service wakari-server restart

#. Restart the AEN gateway service:

   .. code-block:: bash

      sudo service wakari-gateway restart
