Needed GPSd configs

This commit is contained in:
2021-03-25 14:56:27 -04:00
parent ec43aa0cb5
commit 15696165e0
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,11 @@
[Unit]
Description=GPS (Global Positioning System) Daemon Sockets
[Socket]
ListenStream=/var/run/gpsd.sock
ListenStream=[::1]:2947
ListenStream=0.0.0.0:2947
SocketMode=0600
[Install]
WantedBy=sockets.target

View File

@ -12,9 +12,11 @@ sudo -H pip3 install --upgrade pip
sudo -H pip3 install configparser pyside2 sudo -H pip3 install configparser pyside2
sudo -H pip3 install --upgrade pyserial matplotlib numpy scipy scapy gps gpxpy maidenhead virtualenv virtualenvwrapper sudo -H pip3 install --upgrade pyserial matplotlib numpy scipy scapy gps gpxpy maidenhead virtualenv virtualenvwrapper
# enable and start gpsd service
sudo systemctl enable gpsd.service
# gpsd startup # gpsd startup
sudo cp -r etc/* /etc/ sudo cp -r etc/* /etc/
# enable and start gpsd service # enable and start gpsd service
sudo systemctl enable gpsd.service
sudo systemctl start gpsd.service sudo systemctl start gpsd.service