--- ../../../../../portage/net-dialup/xl2tpd/xl2tpd-1.3.1-r2.ebuild 2013-02-13 19:31:22.000000000 +0400 +++ ./xl2tpd-1.3.1-r3.ebuild 2013-07-22 23:46:36.408101954 +0400 @@ -4,7 +4,7 @@ EAPI="4" -inherit eutils toolchain-funcs vcs-snapshot +inherit eutils toolchain-funcs vcs-snapshot systemd DESCRIPTION="A modern version of the Layer 2 Tunneling Protocol (L2TP) daemon" HOMEPAGE="http://www.xelerance.com/services/software/xl2tpd/" @@ -49,5 +49,6 @@ cp doc/l2tp-secrets.sample "${ED}/etc/xl2tpd/l2tp-secrets" || die cp doc/l2tpd.conf.sample "${ED}/etc/xl2tpd/xl2tpd.conf" || die fperms 0600 /etc/xl2tpd/l2tp-secrets - newinitd "${FILESDIR}"/xl2tpd-init-r1 xl2tpd + newinitd "${FILESDIR}"/xl2tpd-init-r1 xl2tp + systemd_dounit "${FILESDIR}"/xl2tpd.service }