--- /usr/portage/net-im/prosody/prosody-0.9.2.ebuild 2014-01-27 06:21:51.000000000 +0400 +++ prosody-0.9.2-r1.ebuild 2014-01-29 16:46:38.253123740 +0400 @@ -1,10 +1,10 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/prosody/prosody-0.9.2.ebuild,v 1.1 2014/01/27 02:21:51 zx2c4 Exp $ +# $Header: $ EAPI=5 -inherit flag-o-matic multilib versionator +inherit flag-o-matic multilib systemd versionator toolchain-funcs MY_PV=$(replace_version_separator 3 '') MY_P="${PN}-${MY_PV}" @@ -73,6 +73,8 @@ src_install() { emake DESTDIR="${D}" install newinitd "${FILESDIR}/${PN}".initd ${PN} + systemd_newunit "${FILESDIR}/${PN}".service-r1 "${PN}".service + systemd_newtmpfilesd "${FILESDIR}/${PN}".tmpfilesd "${PN}".conf } src_test() {