--- redis-2.6.15.ebuild 2013-10-15 10:52:52.604593403 +0200 +++ redis-2.6.15-r1.ebuild 2013-10-15 12:00:11.693819254 +0200 @@ -4,7 +4,7 @@ EAPI=5 -inherit autotools eutils flag-o-matic toolchain-funcs user +inherit autotools eutils flag-o-matic toolchain-funcs user systemd DESCRIPTION="A persistent caching system, key-value and data structures database." HOMEPAGE="http://redis.io/" @@ -97,6 +97,8 @@ fperms 0750 /usr/sbin/redis-benchmark dosym /usr/sbin/redis-server /usr/sbin/redis-sentinel + systemd_dounit "${FILESDIR}/redis.service" + if use prefix; then diropts -m0750 else