[Top][All Lists]

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

Re: [gpsd-users] Unable to run gpsd as service without -N flag

From: Matthew Parrilla
Subject: Re: [gpsd-users] Unable to run gpsd as service without -N flag
Date: Tue, 9 Apr 2019 08:33:10 -0400

Thank you for the explanation. I should have guessed I wasn't understanding systemd properly! I'll stick with -N and will add -n.

On Sat, Apr 6, 2019 at 8:05 PM Gary E. Miller <address@hidden> wrote:
Yo Matthew!

On Fri, 5 Apr 2019 17:14:10 -0400
Matthew Parrilla <address@hidden> wrote:

> Hi there, I'm trying to run gpsd as a systemd service on Ubuntu 18.04
> but am unable to do so without the -N flag.

That is how systemd "works".  By not putting gpsd in the background it
knows when gpsd exits for any reason.

> ExecStart=/usr/sbin/gpsd -N -r udp://

You really want the -n flag too.

> address@hidden:~$ sudo systemctl stop gpsd.service
> Warning: Stopping gpsd.service, but it can still be activated by:
>   gpsd.socket

Which means your service file is broken.  YOu removed part, but not
all, of the gpsd.socket stuff.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin

reply via email to

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