diff options
author | Alexys Jacob <ultrabug@gentoo.org> | 2019-11-14 16:11:52 +0100 |
---|---|---|
committer | Alexys Jacob <ultrabug@gentoo.org> | 2019-11-14 16:11:52 +0100 |
commit | 4388d0fb829dbbfaa3515ff9b597d65b75a4c494 (patch) | |
tree | c39bcf2bd7dab40ce06c4f71c5de8e0451b79973 /dev-db | |
parent | net-analyzer/nagios-core: fix cgi-bin path for apache (diff) | |
download | gentoo-4388d0fb829dbbfaa3515ff9b597d65b75a4c494.tar.gz gentoo-4388d0fb829dbbfaa3515ff9b597d65b75a4c494.tar.bz2 gentoo-4388d0fb829dbbfaa3515ff9b597d65b75a4c494.zip |
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>
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/mongodb/files/mongodb.initd-r3 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-db/mongodb/files/mongodb.initd-r3 b/dev-db/mongodb/files/mongodb.initd-r3 index 778ef7482406..9235772b3910 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 |