[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] GPSD on Debian 10 (buster): allowing other hosts to acc

From: Bernd Zeimetz
Subject: Re: [gpsd-users] GPSD on Debian 10 (buster): allowing other hosts to access gpsd
Date: Fri, 27 Sep 2019 23:34:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 9/19/19 7:40 PM, Charles Curley wrote:
> On Thu, 19 Sep 2019 13:17:14 -0300
> Lisandro Damián Nicanor Pérez Meyer <address@hidden> wrote:
>>>   The -G option shows up in ps:  
>> I also pass -n. Then systemctl restart gpsd.socket and all done.
> I now have -n in my command line options, in /etc/default/gpsd.
> However, I had been running "systemctl restart gpsd", not your
> "systemctl restart gpsd.socket". That may make a difference. Thanks.

yes, those are two different things.

The gpsd.socket service actually starts gpsd.service as soon as there is
a connection to the socket systemd opens for you.

 ss -tlp | grep gpsd
should show you if there is something listening on a port - and on which

If systemd is listening on the configured IPs for you, then you'll see
an open port there. If not, you did not restart the appropriate service,
or you forgot a systemctl daemon-reload

In general:
1. systemctl edit gpsd.socket (that creates a new file for you where you
can override/add things)
2. systemctl daemon-reload
3. systemctl restart gpsd.socket

If you want to pass different options to gpsd, do the same for gpsd.service.

 Bernd Zeimetz                            Debian GNU/Linux Developer                      
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F

reply via email to

[Prev in Thread] Current Thread [Next in Thread]