Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/files/
Date: Wed, 20 Jan 2021 23:04:56
Message-Id: 1611183879.74796bf9788e1ca466bdcbde6c7b548765f2cabf.conikost@gentoo
1 commit: 74796bf9788e1ca466bdcbde6c7b548765f2cabf
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Mon Jan 18 19:43:53 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 20 23:04:39 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74796bf9
7
8 app-admin/rasdaemon: remove unused files
9
10 Closes: https://github.com/gentoo/gentoo/pull/19111
11 Package-Manager: Portage-3.0.13, Repoman-3.0.2
12 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
13 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
14
15 app-admin/rasdaemon/files/ras-mc-ctl.openrc | 10 ----------
16 app-admin/rasdaemon/files/rasdaemon.openrc | 18 ------------------
17 app-admin/rasdaemon/files/rasdaemon.openrc-r1 | 24 ------------------------
18 3 files changed, 52 deletions(-)
19
20 diff --git a/app-admin/rasdaemon/files/ras-mc-ctl.openrc b/app-admin/rasdaemon/files/ras-mc-ctl.openrc
21 deleted file mode 100644
22 index c428d78e64d..00000000000
23 --- a/app-admin/rasdaemon/files/ras-mc-ctl.openrc
24 +++ /dev/null
25 @@ -1,10 +0,0 @@
26 -#!/sbin/openrc-run
27 -# Copyright 1999-2018 Gentoo Authors
28 -# Distributed under the terms of the GNU General Public License v2
29 -
30 -description="Starts ${SVCNAME} service for rasdaemon"
31 -
32 -command="/usr/sbin/${SVCNAME}"
33 -command_args="--register-labels"
34 -pidfile=/run/${SVCNAME}.pid
35 -command_background=true
36
37 diff --git a/app-admin/rasdaemon/files/rasdaemon.openrc b/app-admin/rasdaemon/files/rasdaemon.openrc
38 deleted file mode 100644
39 index 08fc09e6416..00000000000
40 --- a/app-admin/rasdaemon/files/rasdaemon.openrc
41 +++ /dev/null
42 @@ -1,18 +0,0 @@
43 -#!/sbin/openrc-run
44 -# Copyright 1999-2018 Gentoo Authors
45 -# Distributed under the terms of the GNU General Public License v2
46 -
47 -description="Starts ${SVCNAME} service"
48 -
49 -command="/usr/sbin/${SVCNAME}"
50 -command_args="--foreground --record"
51 -pidfile=/run/${SVCNAME}.pid
52 -command_background=true
53 -
54 -start_post() {
55 - "${command}" --enable
56 -}
57 -
58 -stop_post() {
59 - "${command}" --disable
60 -}
61
62 diff --git a/app-admin/rasdaemon/files/rasdaemon.openrc-r1 b/app-admin/rasdaemon/files/rasdaemon.openrc-r1
63 deleted file mode 100644
64 index 6532826add5..00000000000
65 --- a/app-admin/rasdaemon/files/rasdaemon.openrc-r1
66 +++ /dev/null
67 @@ -1,24 +0,0 @@
68 -#!/sbin/openrc-run
69 -# Copyright 1999-2018 Gentoo Authors
70 -# Distributed under the terms of the GNU General Public License v2
71 -
72 -description="Starts Reliablity, Availability and Serviceability (RAS) service"
73 -
74 -depend() {
75 - need localmount
76 - use logger
77 -}
78 -
79 -command="/usr/sbin/rasdaemon"
80 -command_args="--foreground --record"
81 -command_background=true
82 -pidfile=/run/${RC_SVCNAME}.pid
83 -
84 -
85 -start_post() {
86 - "${command}" --enable >/dev/null 2>&1
87 -}
88 -
89 -stop_post() {
90 - "${command}" --disable >/dev/null 2>&1
91 -}