diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2023-12-06 14:54:33 +0100 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2023-12-06 14:55:01 +0100 |
commit | fbf106cb5ff7715377e118372d07aa7f575108eb (patch) | |
tree | 4f93db96383403d5bc3af2f17837aecda9fb1673 /app-admin | |
parent | app-i18n/ibus-m17n: drop old (diff) | |
download | gentoo-fbf106cb5ff7715377e118372d07aa7f575108eb.tar.gz gentoo-fbf106cb5ff7715377e118372d07aa7f575108eb.tar.bz2 gentoo-fbf106cb5ff7715377e118372d07aa7f575108eb.zip |
app-admin/restart-services: add 1.0
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/restart-services/Manifest | 1 | ||||
-rw-r--r-- | app-admin/restart-services/restart-services-1.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/app-admin/restart-services/Manifest b/app-admin/restart-services/Manifest index 2dcb999931ce..3aa1527fd16d 100644 --- a/app-admin/restart-services/Manifest +++ b/app-admin/restart-services/Manifest @@ -1 +1,2 @@ DIST restart-services-0.17.0.tgz 25643 BLAKE2B 5999e12e38207d00266928504da05c00482c8297b7fee634f302f09cfa09e206bcf9d5a558d2a91e5de1d97318025fa995fbc3a61f0d0e74b8dfb1af3db8670b SHA512 c11ca431fbbc6899ab268e8979049144448479d953ed7373cc7483cca2c03cd4041a1ca1e47c0e810f91a18a43aa32cc305a4ea791e8b992246f972e0fbb19ab +DIST restart-services-1.0.tgz 25872 BLAKE2B 912c3e2c3cd49732369a5a4452be1f171c33cd3364cf3224b4443f6f21ef0fccd4c533edd79214cc2dae00cea558409eacbcef4b1566bef402f1850537432c63 SHA512 9c4e269ac6db8bf13c512cc3556a9356b4b44960dd562cf633df6e03db57677c05738edc46010b01976a6b0ee2152ac1e8d410a6c9d98142295ff0cbd3f93df2 diff --git a/app-admin/restart-services/restart-services-1.0.ebuild b/app-admin/restart-services/restart-services-1.0.ebuild new file mode 100644 index 000000000000..6a24cf48136e --- /dev/null +++ b/app-admin/restart-services/restart-services-1.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Tool to manage OpenRC and systemd 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 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + app-admin/lib_users + app-portage/portage-utils + || ( sys-apps/openrc sys-apps/systemd ) +" + +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 -e 's/^#include/include/' "${ED}"/etc/restart-services.conf || die + cat > "${ED}"/etc/restart-services.d/00-local.conf <<- EOF || die + # 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 +} |