Files
for-gentoo/dev-db/mongodb/files/mongodb.initd-r3
T
Daniele Rondina f5875512ac dev-db/mongodb: Bump v.4.2.6 (fork gentoo)
It seems that emerge solver inject py3.7 also if there is py3.6
installed.
2020-06-25 09:49:40 +02:00

20 lines
438 B
Plaintext

#!/sbin/openrc-run
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
: ${config_file:="/etc/${RC_SVCNAME}.conf"}
: ${user:=mongodb}
: ${group:=mongodb}
command="/usr/bin/mongod"
command_args="--config ${config_file}"
command_background="true"
pidfile="/run/${RC_SVCNAME}.pid"
command_user="${user}:${group}"
required_files="${config_file}"
retry="SIGTERM/30"
depend() {
use net
}