diff options
Diffstat (limited to 'projectroot/usr/lib/systemd/system/gpsd.socket')
-rw-r--r-- | projectroot/usr/lib/systemd/system/gpsd.socket | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/projectroot/usr/lib/systemd/system/gpsd.socket b/projectroot/usr/lib/systemd/system/gpsd.socket new file mode 100644 index 000000000..bc7682116 --- /dev/null +++ b/projectroot/usr/lib/systemd/system/gpsd.socket @@ -0,0 +1,15 @@ +[Unit] +Description=GPS (Global Positioning System) Daemon Sockets + +[Socket] +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] +WantedBy=sockets.target |