summaryrefslogtreecommitdiff
path: root/gpsctl.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-02-09 22:51:18 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-02-09 22:51:18 -0500
commitfacc08793683c63cc658d0ae549f3561411f0a08 (patch)
treef22ff00cf1dd2f7df28c325b40b0f0783ecee463 /gpsctl.xml
parent5b4af8cc002773058ad744f9c2f9975284b09224 (diff)
downloadgpsd-facc08793683c63cc658d0ae549f3561411f0a08.tar.gz
Implement and document GPSD_SHM_KEY environment variable.
Diffstat (limited to 'gpsctl.xml')
-rw-r--r--gpsctl.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/gpsctl.xml b/gpsctl.xml
index 7d6d167e..5dfa8c05 100644
--- a/gpsctl.xml
+++ b/gpsctl.xml
@@ -219,6 +219,16 @@ last.</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 designate the shared-memory
+segment removed with the -R option. This will be useful mainly when
+isolating test instances of <application>gpsd</application> from
+production ones.</para>
+
+</refsect1>
+
<refsect1 id='examples'><title>EXAMPLES</title>
<variablelist>