summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-06-22 13:20:31 -0700
committerGary E. Miller <gem@rellim.com>2018-06-22 13:20:31 -0700
commit840b68e852ba9098a3e18d47375a90882bfe1107 (patch)
tree87debcc690f538e7e6568ebc314c90aafc327551 /systemd
parent8453f04de26ab76c6d02721076a482edac383f52 (diff)
downloadgpsd-840b68e852ba9098a3e18d47375a90882bfe1107.tar.gz
gpsd.socket: Add comment on how to enable remote access.
Diffstat (limited to 'systemd')
-rw-r--r--systemd/gpsd.socket4
1 files changed, 4 insertions, 0 deletions
diff --git a/systemd/gpsd.socket b/systemd/gpsd.socket
index 4c1502af..bc768211 100644
--- a/systemd/gpsd.socket
+++ b/systemd/gpsd.socket
@@ -5,6 +5,10 @@ Description=GPS (Global Positioning System) Daemon Sockets
ListenStream=/var/run/gpsd.sock
ListenStream=[::1]:2947
ListenStream=127.0.0.1:2947
+# To allow gpsd remote access, start gpsd with the -G option and
+# uncomment the next two lines:
+# ListenStream=[::1]:2947
+# ListenStream=0.0.0.0:2947
SocketMode=0600
[Install]