app-editors/appflowy-bin: add 0.7.4, drop 0.7.3
[gentoo-zh.git] / dev-db / mongodb / files / mongos.initd-r3
blobcf5844ae30a9d883c4e4e69b1404d5f6ac98d461
1 #!/sbin/openrc-run
2 # Copyright 1999-2017 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
5 : ${config_file:="/etc/${RC_SVCNAME}.conf"}
6 : ${user:=mongodb}
7 : ${group:=mongodb}
9 command="/usr/bin/mongos"
10 command_args="--config ${config_file}"
11 command_background="true"
12 pidfile="/run/${RC_SVCNAME}.pid"
13 command_user="${user}:${group}"
14 required_files="${config_file}"
16 depend() {
17         use net