mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-23 09:47:30 -08:00
Package-Manager: Portage-2.3.10, Repoman-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/5763
19 lines
422 B
Plaintext
19 lines
422 B
Plaintext
#!/sbin/openrc-run
|
|
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
: ${config_file:="/etc/${RC_SVCNAME}.conf"}
|
|
: ${user:=mongodb}
|
|
: ${group:=mongodb}
|
|
|
|
command="/usr/bin/mongos"
|
|
command_args="--config ${config_file}"
|
|
command_background="true"
|
|
pidfile="/run/${RC_SVCNAME}.pid"
|
|
command_user="${user}:${group}"
|
|
required_files="${config_file}"
|
|
|
|
depend() {
|
|
use net
|
|
}
|