diff options
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/earlyoom/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/earlyoom/earlyoom-1.6.2.ebuild (renamed from sys-apps/earlyoom/earlyoom-1.6.1.ebuild) | 6 | ||||
-rw-r--r-- | sys-apps/earlyoom/files/earlyoom-r1 | 6 |
3 files changed, 11 insertions, 3 deletions
diff --git a/sys-apps/earlyoom/Manifest b/sys-apps/earlyoom/Manifest index 6987a325711d..4afcde075831 100644 --- a/sys-apps/earlyoom/Manifest +++ b/sys-apps/earlyoom/Manifest @@ -1,2 +1,2 @@ DIST earlyoom-1.3.tar.gz 31399 BLAKE2B 3867540afb23493fbb532bcb72a5cfacca4ed297a053ff5e2c7e394bfa3640887e3e7c6430789bc1eda4b7a68680d8a74ab56b641fe9e5d4caa4406e2edb0667 SHA512 c5de742289e82c2098bd88c61dcb3e20eb022905a015b4894c95a4de3978ce18d794a9e7c17c97851ca9f8888728908f7bf978c014b3b69799bffa8b546d258a -DIST earlyoom-1.6.1.tar.gz 48200 BLAKE2B 559ed59fa24cb05dbc74785eff06e1e4a2772b555fba2c67cda2651cf1c514e842f18cd085905d556e0bd1de238012385eae37953d90a6a5302f7a727be9eb8a SHA512 4f7e2053f6331c1a0c0163952067503da0ea4f09a5650ef4f4d2692530e04cd0841e4fd83fe593d54dc5361d51c86002d93fb9e6ae0f76d669646bd8de9f2065 +DIST earlyoom-1.6.2.tar.gz 49006 BLAKE2B 85a02d4171ba1bb94d5ddf573b8f5ac58d28a0cf9766f4fb2c96be5b45eee7aab853008c36f9e3aac76685b70008051faa2fe339797ecf9137469f089935a6b3 SHA512 d622a5347591d2017f6e62255940482af431e647acf1b35ab035e0dbfd44da7fc52633e6dd6433e42a1348fd294d766550ba092260f3ec59bd51e545f08e466b diff --git a/sys-apps/earlyoom/earlyoom-1.6.1.ebuild b/sys-apps/earlyoom/earlyoom-1.6.2.ebuild index 898c4fbac557..e0e59d47574f 100644 --- a/sys-apps/earlyoom/earlyoom-1.6.1.ebuild +++ b/sys-apps/earlyoom/earlyoom-1.6.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -41,7 +41,9 @@ src_install() { insinto /etc/default newins earlyoom.default earlyoom + insinto /etc/conf.d + ln -s ../default/earlyoom "${ED}/etc/conf.d/earlyoom" - doinitd "${FILESDIR}/${PN}" + newinitd "${FILESDIR}/${PN}-r1" "${PN}" use systemd && systemd_dounit earlyoom.service } diff --git a/sys-apps/earlyoom/files/earlyoom-r1 b/sys-apps/earlyoom/files/earlyoom-r1 new file mode 100644 index 000000000000..124e5b0023fd --- /dev/null +++ b/sys-apps/earlyoom/files/earlyoom-r1 @@ -0,0 +1,6 @@ +#!/sbin/openrc-run +name=earlyoom +command=/usr/bin/earlyoom +command_args="${EARLYOOM_ARGS}" +command_background=1 +pidfile=/run/earlyoom.pid |