Package: gpsd
Version: 2.95-13.1
Severity: wishlist
Tags: patch

systemd socket activation allows to start gpsd only on demand, making it way 
more resource-friendly. Version 3.x of gpsd is systemd ready.

This needs the following changes:

- Configure scons with systemd=yes

- Ship /lib/systemd/system/gpsd.service:
[Unit]
Description=GPS (Global Positioning System) Daemon

[Service]
type=simple
ExecStart=/usr/bin/gpsd -N

[Install]
Also=gpsd.socket

- Ship /lib/systemd/system/gpsd.socket:
[Unit]
Description=GPS (Global Positioning System) Daemon Sockets

[Socket]
ListenStream=/var/run/gpsd.sock
ListenStream=127.0.0.1:2947

[Install]
WantedBy=sockets.target



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to