-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,42 @@ | ||
Removing Servers | ||
================ | ||
|
||
Removing servers cannot be done whilst the uh-vpn-server service is running. The service needs to be stopped, then | ||
the associated token removed from the token store in ``/etc/uh-vpn-server/tokens`` and then the service needs to be | ||
restarted. | ||
|
||
This operation has the side effect of halting all VPN servers configured on the host machine. | ||
|
||
.. code-block:: bash | ||
$> sudo service uh-vpn-server stop | ||
Now, the associated token needs to be removed from the token store: | ||
|
||
.. code-block:: bash | ||
$> sudo nano /etc/uh-vpn-server/tokens | ||
This will bring up an editor prompt like so: | ||
|
||
.. image:: /_static/servers/token_store.png | ||
:width: 600 | ||
:alt: Token store | ||
|
||
Remove the token and save the file (Ctrl-X in nano). The service can then be restarted by issuing the command: | ||
|
||
.. code-block:: bash | ||
$> sudo service uh-vpn-server start | ||
One should then check that the service is up and running: | ||
|
||
.. code-block:: bash | ||
$> sudo service uh-vpn-server status | ||
The output should say **active (running)** as depicted below: | ||
|
||
.. image:: /_static/servers/service_status.png | ||
:width: 600 | ||
:alt: Expected status |