Gentoo Archives: gentoo-commits

From: Alexys Jacob <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/files/
Date: Thu, 14 Nov 2019 15:13:11
Message-Id: 1573744312.4388d0fb829dbbfaa3515ff9b597d65b75a4c494.ultrabug@gentoo
1 commit: 4388d0fb829dbbfaa3515ff9b597d65b75a4c494
2 Author: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 14 15:11:52 2019 +0000
4 Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 14 15:11:52 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4388d0fb
7
8 dev-db/mongodb: add retry policy to mongodb initd
9
10 Package-Manager: Portage-2.3.78, Repoman-2.3.18
11 Signed-off-by: Alexys Jacob <ultrabug <AT> gentoo.org>
12
13 dev-db/mongodb/files/mongodb.initd-r3 | 3 ++-
14 1 file changed, 2 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-db/mongodb/files/mongodb.initd-r3 b/dev-db/mongodb/files/mongodb.initd-r3
17 index 778ef748240..9235772b391 100644
18 --- a/dev-db/mongodb/files/mongodb.initd-r3
19 +++ b/dev-db/mongodb/files/mongodb.initd-r3
20 @@ -1,5 +1,5 @@
21 #!/sbin/openrc-run
22 -# Copyright 1999-2017 Gentoo Foundation
23 +# Copyright 1999-2019 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 : ${config_file:="/etc/${RC_SVCNAME}.conf"}
27 @@ -12,6 +12,7 @@ command_background="true"
28 pidfile="/run/${RC_SVCNAME}.pid"
29 command_user="${user}:${group}"
30 required_files="${config_file}"
31 +retry="SIGTERM/30"
32
33 depend() {
34 use net