mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
mdnsd: add runit service
This commit is contained in:
parent
9db42d284f
commit
ea8922114c
2 changed files with 9 additions and 1 deletions
7
srcpkgs/mdnsd/files/mdnsd/run
Executable file
7
srcpkgs/mdnsd/files/mdnsd/run
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
exec 2>&1
|
||||||
|
|
||||||
|
[ -r ./conf ] && . ./conf
|
||||||
|
|
||||||
|
exec chpst -u nobody:nogroup mdnsd -n ${OPTS}
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'mdnsd'
|
# Template file for 'mdnsd'
|
||||||
pkgname=mdnsd
|
pkgname=mdnsd
|
||||||
version=0.12
|
version=0.12
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="autoconf automake pkg-config libtool"
|
hostmakedepends="autoconf automake pkg-config libtool"
|
||||||
short_desc="Embeddable Multicast DNS Daemon"
|
short_desc="Embeddable Multicast DNS Daemon"
|
||||||
|
@ -22,6 +22,7 @@ pre_configure() {
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm ${DESTDIR}/usr/share/doc/mdnsd/LICENSE
|
rm ${DESTDIR}/usr/share/doc/mdnsd/LICENSE
|
||||||
|
vsv mdnsd
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue