gpsd: add control socket '/var/run/gpsd.sock' on startup

This change makes it possible to add new gps device without restarting the
'gpsd' service by using the 'gpsdctl' command.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert
2025-01-28 10:47:21 +01:00
committed by Florian Eckert
parent 8f0ab168ce
commit f420a7bb37
2 changed files with 3 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gpsd
PKG_VERSION:=3.25
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@SAVANNAH/$(PKG_NAME)
@@ -45,6 +45,7 @@ define Package/gpsd
SECTION:=utils
CATEGORY:=Utilities
TITLE:=An interface daemon for GPS receivers
DEPENDS+= +gpsd-utils
endef
define Package/gpsd/conffiles

View File

@@ -29,6 +29,7 @@ gpsd_instance()
[ "$listen_globally" -ne 0 ] && procd_append_param command -G
procd_append_param command -S "$port"
procd_append_param command -F /var/run/gpsd.sock
procd_append_param command "$device"
procd_set_param respawn