Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(NET-1254): add docs on how to restart RAC daemon #311

Merged
merged 3 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions pro/pro-users.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


=================================
Users in Netmaker Professional
=================================
Expand Down
36 changes: 36 additions & 0 deletions pro/rac.rst
Aceix marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,42 @@ The user will have to relogin to enable their remote session again.
NOTE: The `JWT_VALIDITY_DURATION` environment variable also configures all the JWT token validity duration for all users, regardless of whether `RAC_AUTO_DISABLE` is set to `true` or not.


(Re)Starting the service/daemon process
=======================================

On very few occasion, the RAC daemon may not be running and will need to be restarted manually. There are two ways to resolve this:

1. Restart the computer. The daemon starts automatically on boot so restarting the computer will start the daemon on next startup.
2. Manual restart. The exact procedure depends on your operating system.

Manual daemon restart on Windows
--------------------------------

1. Open Task Manager.
2. Go to the "Services" tab.
3. Look for the "remote-client" service.
4. Right-click on the service and select "Restart" or "Start".

Manual daemon restart on Linux
------------------------------

On Linux, RAC daemon relies on systemd to manage the service. You can restart the service using the following command:

.. code-block::

sudo systemctl restart remote-client

Manual daemon restart on Mac
----------------------------

On Mac, RAC daemon relies on launchd to manage the service. You can restart the service using the following command:

.. code-block::

sudo launchctl stop com.netmaker.remote-client
sudo launchctl start com.netmaker.remote-client


FAQs and Known Issues
=====================

Expand Down