mdnsd: add runit service

This commit is contained in:
lemmi 2023-04-26 12:24:05 +02:00 committed by Duncan Overbruck
parent 9db42d284f
commit ea8922114c
2 changed files with 9 additions and 1 deletions

7
srcpkgs/mdnsd/files/mdnsd/run Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
exec 2>&1
[ -r ./conf ] && . ./conf
exec chpst -u nobody:nogroup mdnsd -n ${OPTS}

View File

@ -1,7 +1,7 @@
# Template file for 'mdnsd'
pkgname=mdnsd
version=0.12
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="autoconf automake pkg-config libtool"
short_desc="Embeddable Multicast DNS Daemon"
@ -22,6 +22,7 @@ pre_configure() {
post_install() {
rm ${DESTDIR}/usr/share/doc/mdnsd/LICENSE
vsv mdnsd
vlicense LICENSE
}