gpsd: add runit script

This commit is contained in:
uriahheep 2015-09-19 18:21:30 -04:00
parent cec2915441
commit c2734cec2c
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,3 @@
#!/bin/sh
[ -r conf ] && . ./conf
exec /usr/bin/gpsd -N -F /run/gpsd.sock $OPTS ${DEV:=/dev/gps0}

View File

@ -1,7 +1,7 @@
# Template file for 'gpsd'
pkgname=gpsd
version=3.15
revision=1
revision=2
build_style=scons
patch_args=-p1
make_build_args="dbus_export=0 gpsd_user=gpsd gpsd_group=gpsd sbindir=/usr/bin udevdir=/usr/lib/udev CC=${CC}"
@ -35,6 +35,7 @@ pre_install() {
}
post_install() {
vsv gpsd
vlicense COPYING
vlicense AUTHORS
}