commit:     4388d0fb829dbbfaa3515ff9b597d65b75a4c494
Author:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 14 15:11:52 2019 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Thu Nov 14 15:11:52 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4388d0fb

dev-db/mongodb: add retry policy to mongodb initd

Package-Manager: Portage-2.3.78, Repoman-2.3.18
Signed-off-by: Alexys Jacob <ultrabug <AT> gentoo.org>

 dev-db/mongodb/files/mongodb.initd-r3 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-db/mongodb/files/mongodb.initd-r3 
b/dev-db/mongodb/files/mongodb.initd-r3
index 778ef748240..9235772b391 100644
--- a/dev-db/mongodb/files/mongodb.initd-r3
+++ b/dev-db/mongodb/files/mongodb.initd-r3
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 : ${config_file:="/etc/${RC_SVCNAME}.conf"}
@@ -12,6 +12,7 @@ command_background="true"
 pidfile="/run/${RC_SVCNAME}.pid"
 command_user="${user}:${group}"
 required_files="${config_file}"
+retry="SIGTERM/30"
 
 depend() {
        use net

Reply via email to