mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-12 12:33:02 +00:00
Use $() for command substitution instead of backticks/quotes.
One of the example was using quotes instead of backticks. Backticks are the "older" way of doing things, which has a number of disadvantes: http://mywiki.wooledge.org/BashFAQ/082 Here I'm more worried about readability as depending on font and "smart" editor helping on the web, many people may confuse ` with ', it could end up modifying formatting on makrdown powered website... etc...
This commit is contained in:
@@ -124,7 +124,7 @@ hex-encoded string. You can set it this way:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
export JPY_COOKIE_SECRET=`openssl rand -hex 32`
|
||||
export JPY_COOKIE_SECRET=$(openssl rand -hex 32)
|
||||
|
||||
For security reasons, this environment variable should only be visible to the
|
||||
Hub. If you set it dynamically as above, all users will be logged out each time
|
||||
@@ -173,7 +173,7 @@ using the ``CONFIGPROXY_AUTH_TOKEN`` environment variable:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
export CONFIGPROXY_AUTH_TOKEN='openssl rand -hex 32'
|
||||
export CONFIGPROXY_AUTH_TOKEN=$(openssl rand -hex 32)
|
||||
|
||||
This environment variable needs to be visible to the Hub and Proxy.
|
||||
|
||||
|
Reference in New Issue
Block a user