summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaarp <main.haarp@gmail.com>2019-02-20 15:11:35 +0100
committerhaarp <main.haarp@gmail.com>2019-03-20 15:45:30 +0100
commit9eb7cff54dda00d5fea9e1e3983ee76d52c915de (patch)
treec6149774c1d4fa492558b6ec3b2db685bc106ce0 /sys-apps
parentUpdate Slic3rPE (you might have to unmerge slic3r-prusa3d first to avoid file... (diff)
downloadhaarp-9eb7cff54dda00d5fea9e1e3983ee76d52c915de.tar.gz
haarp-9eb7cff54dda00d5fea9e1e3983ee76d52c915de.tar.bz2
haarp-9eb7cff54dda00d5fea9e1e3983ee76d52c915de.zip
Move earlyoom to sys-process and add some reasonable args for openrc service
Signed-off-by: haarp <main.haarp@gmail.com>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/earlyoom/Manifest3
-rw-r--r--sys-apps/earlyoom/earlyoom-1.2.ebuild36
-rw-r--r--sys-apps/earlyoom/files/earlyoom6
3 files changed, 0 insertions, 45 deletions
diff --git a/sys-apps/earlyoom/Manifest b/sys-apps/earlyoom/Manifest
deleted file mode 100644
index bac2c3d..0000000
--- a/sys-apps/earlyoom/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-AUX earlyoom 122 BLAKE2B 1afec0a9a975a2d3e65bfa574a587ce625c805153e0ec9d6904d59ae024c252145d634deca0b54e6f22aa6364188e563a1a0a70f8963a416c53fc31d11beecc3 SHA512 3ba5aca0db373bb42c46573f9636ccdb25199b4c63f763f94128b2bd0465a3aefed062847d3bf301ccdb7b96745ab2d85e37d65c40620d5c179cc90b86b80f50
-DIST earlyoom-1.2.tar.gz 23011 BLAKE2B 3f4f8798d6b9687618ab4e117f13279a5d9bbb3de41158a8b947442aa04cfd320c0716a7ece63de254079c79a458500cebf3e50835baa0bad4a4e7427d2f58a8 SHA512 45edc7064f227fce3ed6fdc9e524a8a117f8a9de50d98c9e75f31c193a1820804df8d9fac02c4ee1daabd3c2018bbeb422611ca29971e1c11f86446de8c96bc1
-EBUILD earlyoom-1.2.ebuild 795 BLAKE2B 43df1da1ba23c9df5dc3e8b7bf8547bbb223c1c06ea8eb9d3aee5225c0a328dcd978a902896b6846f7fbd33bd2702dc154a181ace229bdae0106a8906ca90986 SHA512 3845b08e099c6df9b1cc2cbc8ac6b7803e66cde9e704535f27c98fd2ac3d2f7a498eae79d0961e14c6e25b61f6dae1beb76e2aed75d7b620133e07391fc444e4
diff --git a/sys-apps/earlyoom/earlyoom-1.2.ebuild b/sys-apps/earlyoom/earlyoom-1.2.ebuild
deleted file mode 100644
index 5cfc6d4..0000000
--- a/sys-apps/earlyoom/earlyoom-1.2.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2019 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd
-
-DESCRIPTION="Early OOM Daemon for Linux"
-HOMEPAGE="https://github.com/rfjakob/earlyoom"
-SRC_URI="https://github.com/rfjakob/earlyoom/archive/v$PV.tar.gz -> $P.tar.gz"
-
-LICENSE="MIT-with-advertising"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+openrc systemd docs"
-
-DEPEND="docs? ( app-text/pandoc )"
-RDEPEND=""
-
-src_compile() {
- emake earlyoom
- use docs && emake earlyoom.1
- use systemd && emake PREFIX=/usr earlyoom.service
-}
-
-src_install() {
- dobin earlyoom
- use docs && doman earlyoom.1
-
- insinto /etc/default
- newins earlyoom.default earlyoom
- newman MANPAGE.md earlyoom.1
-
- use openrc && doinitd "$FILESDIR/$PN"
- use systemd && systemd_dounit earlyoom.service
-}
diff --git a/sys-apps/earlyoom/files/earlyoom b/sys-apps/earlyoom/files/earlyoom
deleted file mode 100644
index 9b35e36..0000000
--- a/sys-apps/earlyoom/files/earlyoom
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/sbin/openrc-run
-name=earlyoom
-command=/usr/bin/earlyoom
-command_args=-p
-command_background=1
-pidfile=/run/earlyoom.pid