diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-09 22:51:18 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-09 22:51:18 -0500 |
commit | facc08793683c63cc658d0ae549f3561411f0a08 (patch) | |
tree | f22ff00cf1dd2f7df28c325b40b0f0783ecee463 /libgps.xml | |
parent | 5b4af8cc002773058ad744f9c2f9975284b09224 (diff) | |
download | gpsd-facc08793683c63cc658d0ae549f3561411f0a08.tar.gz |
Implement and document GPSD_SHM_KEY environment variable.
Diffstat (limited to 'libgps.xml')
-rw-r--r-- | libgps.xml | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -261,6 +261,16 @@ as in the example given below. Resources within the session object will be properly released when it is garbage-collected.</para> </refsect1> +<refsect1 id='environment'><title>ENVIRONMENT VARIABLES</title> + +<para>By setting the environment variable <envar>GPSD_SHM_KEY</envar>, +you can control the key value used to create shared-memory segment +used for communication with <application>gpsd</application>. This +will be useful mainly when isolating test instances of +<application>gpsd</application> from production ones.</para> + +</refsect1> + <refsect1 id='example'><title>CODE EXAMPLE</title> <para>The following is an excerpted and simplified version of the |