I am trying to use the GPSD as a server, that is: everything must be done by command line, such as: gpsd --help
.
I read the documentation here, which says that.in order to let gpsd work as server, you need to stop or kill the gpsd daemon first.
But I do not know how.
I ran service --status-all
and it shows me the list of running daemons, which included gpsd:
[ - ] gpsd
is it still working or stopped?
I also tried to use start-stop-daemon -k
but it did not work, I just get shown the help when I try that.
ps -C "$(xlsclients | cut -d' ' -f3 | paste - -s -d ',')" --ppid 2 --pid 2 --deselect -o tty,args | grep ^? | grep gpsd
if it is, kill it withsudo killall gpsd
andsudo rm /var/run/gpsd.sock
, according to the documentation provided by yourself. – M. Becerra Mar 20 '17 at 14:16ps ax | grep gpsd
, again, if theres no ouput, it means it is not running. – M. Becerra Mar 20 '17 at 14:20