aboutsummaryrefslogblamecommitdiffstats
path: root/testing/kubernetes/kube-controller-manager.initd
blob: 9256304648595018e4f76d7c4c272109ff351cdb (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                                  
                           
                                                   
 

                                                                     

  
                                          
                                                              

                                                     



                 
#!/sbin/openrc-run
# Copyright 2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

supervisor=supervise-daemon
description="Kubernetes Controller Manager service"

if [ -e /var/lib/kubernetes/kube-controller-manager-flags.env ]; then
	. /var/lib/kubernetes/kube-controller-manager-flags.env;
fi

command="/usr/bin/kube-controller-manager"
command_args="${command_args} ${KUBE_CONTROLLER_MANAGER_ARGS}"
: ${output_log:=/var/log/$RC_SVCNAME/$RC_SVCNAME.log}
: ${error_log:=/var/log/$RC_SVCNAME/$RC_SVCNAME.log}

depend() {
	after net
}