Mageia Bugzilla – Attachment 12568 Details for
Bug 28711
gpsd running but nonfunctional
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
m7 /usr/lib/systemd/system/gpsd*
M7 gpsd.txt (text/plain), 1.36 KB, created by
Tony Blackwell
on 2021-04-04 13:15:26 CEST
(
hide
)
Description:
m7 /usr/lib/systemd/system/gpsd*
Filename:
MIME Type:
Creator:
Tony Blackwell
Created:
2021-04-04 13:15:26 CEST
Size:
1.36 KB
patch
obsolete
>[root@white2 tony]# cat /etc/sysconfig/gpsd ># Options for gpsd, including serial devices >OPTIONS="" ># Set to 'true' to add USB devices automatically via udev >USBAUTO="true" >[root@white2 tony]# 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=/var/run/gpsd.sock" >EnvironmentFile=-/etc/default/gpsd >EnvironmentFile=-/etc/sysconfig/gpsd >RemainAfterExit=yes >ExecStart=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/sbin/gpsdctl add /dev/%I || :" >ExecStop=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/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=/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 >[root@white2 t
[root@white2 tony]# cat /etc/sysconfig/gpsd # Options for gpsd, including serial devices OPTIONS="" # Set to 'true' to add USB devices automatically via udev USBAUTO="true" [root@white2 tony]# 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=/var/run/gpsd.sock" EnvironmentFile=-/etc/default/gpsd EnvironmentFile=-/etc/sysconfig/gpsd RemainAfterExit=yes ExecStart=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/sbin/gpsdctl add /dev/%I || :" ExecStop=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/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=/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 [root@white2 t
View Attachment As Raw
Actions:
View
Attachments on
bug 28711
:
12567
| 12568 |
12569
|
12893
|
12899