Mageia Bugzilla – Attachment 12569 Details for
Bug 28711
gpsd running but nonfunctional
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
M8 /usr/lib/systemd/system/gpsd*
M8gpsd.txt (text/plain), 1.37 KB, created by
Tony Blackwell
on 2021-04-04 13:16:57 CEST
(
hide
)
Description:
M8 /usr/lib/systemd/system/gpsd*
Filename:
MIME Type:
Creator:
Tony Blackwell
Created:
2021-04-04 13:16:57 CEST
Size:
1.37 KB
patch
obsolete
>[root@tony-m2 5775]# cat /etc/sysconfig/gpsd ># Options for gpsd, including serial devices >OPTIONS="" ># Set to 'true' to add USB devices automatically via udev >USBAUTO="true" >[root@tony-m2 5775]# cat /usr/lib/systemd/system/gpsd* >[Unit] >Description=Manage %I for GPS daemon >Requires=gpsd.socket >BindsTo=dev-%i.device >After=dev-%i.device > >[Service] >Type=oneshot >Environment="GPSD_SOCKET=/run/gpsd.sock" >EnvironmentFile=-/etc/default/gpsd >EnvironmentFile=-/etc/sysconfig/gpsd >RemainAfterExit=yes >ExecStart=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/local/sbin/gpsdctl add /dev/%I || :" >ExecStop=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/local/sbin/gpsdctl remove /dev/%I || :" >[Unit] >Description=GPS (Global Positioning System) Daemon >Requires=gpsd.socket ># Needed with chrony SOCK refclock >After=chronyd.service > >[Service] >Type=forking >EnvironmentFile=-/etc/default/gpsd >EnvironmentFile=-/etc/sysconfig/gpsd >ExecStart=/usr/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES > >[Install] >WantedBy=multi-user.target >Also=gpsd.socket >[Unit] >Description=GPS (Global Positioning System) Daemon Sockets > >[Socket] >ListenStream=/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 >[root@tony-m2 5775]#
[root@tony-m2 5775]# cat /etc/sysconfig/gpsd # Options for gpsd, including serial devices OPTIONS="" # Set to 'true' to add USB devices automatically via udev USBAUTO="true" [root@tony-m2 5775]# cat /usr/lib/systemd/system/gpsd* [Unit] Description=Manage %I for GPS daemon Requires=gpsd.socket BindsTo=dev-%i.device After=dev-%i.device [Service] Type=oneshot Environment="GPSD_SOCKET=/run/gpsd.sock" EnvironmentFile=-/etc/default/gpsd EnvironmentFile=-/etc/sysconfig/gpsd RemainAfterExit=yes ExecStart=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/local/sbin/gpsdctl add /dev/%I || :" ExecStop=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/local/sbin/gpsdctl remove /dev/%I || :" [Unit] Description=GPS (Global Positioning System) Daemon Requires=gpsd.socket # Needed with chrony SOCK refclock After=chronyd.service [Service] Type=forking EnvironmentFile=-/etc/default/gpsd EnvironmentFile=-/etc/sysconfig/gpsd ExecStart=/usr/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES [Install] WantedBy=multi-user.target Also=gpsd.socket [Unit] Description=GPS (Global Positioning System) Daemon Sockets [Socket] ListenStream=/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 [root@tony-m2 5775]#
View Attachment As Raw
Actions:
View
Attachments on
bug 28711
:
12567
|
12568
| 12569 |
12893
|
12899