diff --git a/srcpkgs/tinc/files/tincd@.service b/srcpkgs/tinc/files/tincd@.service new file mode 100644 index 00000000000..ef8f2da9fba --- /dev/null +++ b/srcpkgs/tinc/files/tincd@.service @@ -0,0 +1,10 @@ +[Unit] +Description=Tinc daemon for net %i +After=network.target + +[Service] +Type=forking +ExecStart=/usr/sbin/tincd -n %i + +[Install] +WantedBy=multi-user.target diff --git a/srcpkgs/tinc/template b/srcpkgs/tinc/template new file mode 100644 index 00000000000..2fa22ef2d05 --- /dev/null +++ b/srcpkgs/tinc/template @@ -0,0 +1,16 @@ +# Template file for 'tinc' +pkgname=tinc +version=1.0.19 +revision=1 +build_style=gnu-configure +short_desc="VPN (Virtual Private Network) daemon" +maintainer="pancake " +license="GPL-2" +homepage="http://www.tinc-vpn.org" +distfiles="${homepage}/packages/${pkgname}-${version}.tar.gz" +checksum=509ebb063399d436e9df0a6ccb03ca1c1190a948662ddeef60bb803684ec76a0 +makedepends="lzo-devel openssl-devel" + +post_install() { + vinstall ${FILESDIR}/tincd@.service 644 usr/lib/systemd/system +}