dev-db/mongodb: add retry policy to mongodb initd
authorAlexys Jacob <ultrabug@gentoo.org>
Thu, 14 Nov 2019 15:11:52 +0000 (16:11 +0100)
committerAlexys Jacob <ultrabug@gentoo.org>
Thu, 14 Nov 2019 15:11:52 +0000 (16:11 +0100)
Package-Manager: Portage-2.3.78, Repoman-2.3.18
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
dev-db/mongodb/files/mongodb.initd-r3

index 778ef748240650260e681f1c40d1c6b3c0845cab..9235772b3910765a23a85375b4bbee3165d7b00e 100644 (file)
@@ -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