diff --git a/srcpkgs/tinc/files/tincd@.service b/srcpkgs/tinc/files/tincd@.service deleted file mode 100644 index ef8f2da9fba..00000000000 --- a/srcpkgs/tinc/files/tincd@.service +++ /dev/null @@ -1,10 +0,0 @@ -[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 index a332b0cc968..eab54ad17ab 100644 --- a/srcpkgs/tinc/template +++ b/srcpkgs/tinc/template @@ -1,9 +1,8 @@ # Template file for 'tinc' pkgname=tinc version=1.0.25 -revision=3 +revision=5 build_style=gnu-configure -build_options="systemd" makedepends="zlib-devel lzo-devel libressl-devel" short_desc="VPN (Virtual Private Network) daemon" maintainer="Juan RP " @@ -11,10 +10,8 @@ license="GPL-2" homepage="http://www.tinc-vpn.org" distfiles="${homepage}/packages/${pkgname}-${version}.tar.gz" checksum=c5c1c554e594d77365b63222ef15f4460c0c202f9163a89a087333a779f4f133 +configure_args="--sbindir=/usr/bin" post_install() { vsv tincd - if [ "$build_option_systemd" ]; then - vinstall ${FILESDIR}/tincd@.service 644 usr/lib/systemd/system - fi }