diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2015-09-07 16:11:48 +0200 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2015-09-07 16:14:03 +0200 |
commit | 2a30d4dfbe3f47f57e6e4e7937d9154bc5adec9e (patch) | |
tree | dc4481c17386a0ce3cfefb46ae1f5cc49e0d3126 | |
parent | dev-java/maven-bin: Recalculate Manifest + raise (again) {jdk,jre} reqs to 1.8. (diff) | |
download | gentoo-2a30d4dfbe3f47f57e6e4e7937d9154bc5adec9e.tar.gz gentoo-2a30d4dfbe3f47f57e6e4e7937d9154bc5adec9e.tar.bz2 gentoo-2a30d4dfbe3f47f57e6e4e7937d9154bc5adec9e.zip |
app-admin/restart_services: minor default config change
enable /etc/restart_services.d/*.conf by default
Fixes bug #558006
-rw-r--r-- | app-admin/restart_services/restart_services-0.13.0-r1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app-admin/restart_services/restart_services-0.13.0-r1.ebuild b/app-admin/restart_services/restart_services-0.13.0-r1.ebuild new file mode 100644 index 000000000000..87fa490cff64 --- /dev/null +++ b/app-admin/restart_services/restart_services-0.13.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Tool to manage OpenRC services that need to be restarted" +HOMEPAGE="https://dev.gentoo.org/~mschiff/restart_services/" +SRC_URI="https://dev.gentoo.org/~mschiff/src/${PN}/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=" + app-admin/lib_users + sys-apps/openrc +" + +src_install() { + dosbin restart_services + doman restart_services.1 + keepdir /etc/restart_services.d + insinto /etc + doins restart_services.conf + dodoc README CHANGES + + sed -i 's/^#include/include/' "${D}"/etc/restart_services.conf + cat>"${D}"/etc/restart_services.d/00-local.conf<<-EOF + # You may put your local changes here or in any other *.conf file + # in this directory so you can leave /etc/restart_services.conf as is. + # Example: + # *extend* SV_ALWAYS to match 'myservice' + # SV_ALWAYS+=( myservice ) + EOF +} |