Merge pull request #2562 from uriah0/master

gpsd: add runit script
This commit is contained in:
Juan RP 2015-09-20 17:44:16 +02:00
commit c88ff18cee
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
}