blob: a0cc2f20be828a17655fd04bfd2d3c369ccbe57b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/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="/var/run/${RC_SVCNAME}.pid"
command_user="${user}:${group}"
required_files="${config_file}"
depend() {
use net
}
|