tinc: added runit service.
This commit is contained in:
parent
a947176cc3
commit
cbd20f9438
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec tincd -D
|
|
@ -1,8 +1,10 @@
|
|||
# Template file for 'tinc'
|
||||
pkgname=tinc
|
||||
version=1.0.24
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
build_options="systemd"
|
||||
replaces="runit-void<20141013_2"
|
||||
makedepends="zlib-devel lzo-devel libressl-devel"
|
||||
short_desc="VPN (Virtual Private Network) daemon"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -12,5 +14,8 @@ distfiles="${homepage}/packages/${pkgname}-${version}.tar.gz"
|
|||
checksum=498e58f9f39e3922030a63cf62baf4b46a40fbda8d90b23ec0f084f4a9f9b687
|
||||
|
||||
post_install() {
|
||||
vsv tincd
|
||||
if [ "$build_option_systemd" ]; then
|
||||
vinstall ${FILESDIR}/tincd@.service 644 usr/lib/systemd/system
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue