diff --git a/docs/admin/lab-settings.rst b/docs/admin/lab-settings.rst index e1eb14ac..4f8a077c 100644 --- a/docs/admin/lab-settings.rst +++ b/docs/admin/lab-settings.rst @@ -23,7 +23,7 @@ use the following instructions: .. code-block:: bash - $ rccontrol restart enterprise-1 + $ ./rcstack stack rhodecode restart 4. You will see the labs setting on the :menuselection:`Admin --> Settings --> labs` page. diff --git a/docs/admin/system_admin/admin-tricks.rst b/docs/admin/system_admin/admin-tricks.rst index cb8d46f5..2192b199 100644 --- a/docs/admin/system_admin/admin-tricks.rst +++ b/docs/admin/system_admin/admin-tricks.rst @@ -203,9 +203,7 @@ do this, use the following steps. .. code-block:: bash - $ rccontrol restart enterprise-2 - Instance "enterprise-2" successfully stopped. - Instance "enterprise-2" successfully started. + $ ./rcstack stack rhodecode restart .. image:: ../../images/language.png diff --git a/docs/admin/system_admin/enable-debug.rst b/docs/admin/system_admin/enable-debug.rst index 07779d99..ee58dcc2 100644 --- a/docs/admin/system_admin/enable-debug.rst +++ b/docs/admin/system_admin/enable-debug.rst @@ -18,7 +18,7 @@ in the :file:`config/_shared/rhodecode.ini` file. To do this, use the following steps 1. Open the file and set the ``debug`` line to ``true`` -2. Restart you instance using the ``rccontrol restart`` command, +2. Restart you instance using the ``./rcstack stack rhodecode restart`` command, see the following example: .. code-block:: ini @@ -29,9 +29,7 @@ do this, use the following steps .. code-block:: bash # Restart your instance - $ rccontrol restart enterprise-1 - Instance "enterprise-1" successfully stopped. - Instance "enterprise-1" successfully started. + $ ./rcstack stack rhodecode restart Debug and Logging Configuration diff --git a/docs/admin/system_admin/gunicorn-ssl-support.rst b/docs/admin/system_admin/gunicorn-ssl-support.rst index e3fa154a..10ee5689 100644 --- a/docs/admin/system_admin/gunicorn-ssl-support.rst +++ b/docs/admin/system_admin/gunicorn-ssl-support.rst @@ -35,7 +35,7 @@ and certificate paths to your configuration file. .. code-block:: bash - $ rccontrol restart enterprise-1 + $ ./rcstack stack rhodecode restart After this is enabled you can *only* access your instances via https:// protocol. Check out more docs here `Gunicorn SSL Docs`_ diff --git a/docs/admin/system_admin/tuning/tuning-gunicorn.rst b/docs/admin/system_admin/tuning/tuning-gunicorn.rst index d55f7485..2ed0f350 100644 --- a/docs/admin/system_admin/tuning/tuning-gunicorn.rst +++ b/docs/admin/system_admin/tuning/tuning-gunicorn.rst @@ -78,7 +78,7 @@ To do this, use the following steps: .. code-block:: bash - $ rccontrol restart '*' + $ ./rcstack stack rhodecode down && ./rcstack stack rhodecode up -d Gunicorn Gevent Backend diff --git a/docs/admin/system_admin/vcs-server.rst b/docs/admin/system_admin/vcs-server.rst index 0850d9f1..8dce4e37 100644 --- a/docs/admin/system_admin/vcs-server.rst +++ b/docs/admin/system_admin/vcs-server.rst @@ -169,9 +169,8 @@ for full details see the :ref:`RhodeCode Control CLI `. - URL: http://127.0.0.1:10008 - CONFIG: /home/ubuntu/.rccontrol/vcsserver-1/vcsserver.ini - $ rccontrol restart vcsserver-1 - Instance "vcsserver-1" successfully stopped. - Instance "vcsserver-1" successfully started. + $ ./rcstack stack rhodecode restart + .. _vcs-server-config-file: diff --git a/docs/integrations/integrations-rcextensions.rst b/docs/integrations/integrations-rcextensions.rst index 2314fc8a..6f904a31 100644 --- a/docs/integrations/integrations-rcextensions.rst +++ b/docs/integrations/integrations-rcextensions.rst @@ -28,11 +28,9 @@ into the path where the rhodecode.ini file is located:: rcextensions are loaded when |RCE| starts. So a restart is required after activation or change of code in rcextensions. -Simply restart only the enterprise/community instance:: +Simply restart only the rhodecode stack instances:: - rccontrol restart enterprise-1 - or - rccontrol restart community-1 + $ ./rcstack stack rhodecode restart Example usage diff --git a/docs/tutorials/multi-instance-setup.rst b/docs/tutorials/multi-instance-setup.rst index e229b7dc..5bb6badb 100644 --- a/docs/tutorials/multi-instance-setup.rst +++ b/docs/tutorials/multi-instance-setup.rst @@ -79,7 +79,7 @@ from the same database using the following steps: .. code-block:: bash - $ rccontrol restart enterprise-2 + $ ./rcstack stack rhodecode restart If you wish to add additional performance to your setup, see the :ref:`rhodecode-tuning-ref` section.