From 840b68e852ba9098a3e18d47375a90882bfe1107 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Fri, 22 Jun 2018 13:20:31 -0700 Subject: gpsd.socket: Add comment on how to enable remote access. --- systemd/gpsd.socket | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'systemd/gpsd.socket') 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] -- cgit v1.2.1