mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user