gpsd-users
[Top][All Lists]
Advanced

[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: Gary E. Miller
Subject: Re: [gpsd-users] Unable to run gpsd as service without -N flag
Date: Sat, 6 Apr 2019 17:04:52 -0700

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://192.168.1.206:60001

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.

RGDS
GARY
---------------------------------------------------------------------------
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

Attachment: pgpXeYFnbpRiB.pgp
Description: OpenPGP digital signature


reply via email to

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