Files
monok8s/alpine/rootfs-extra/etc/init.d/bootstrap-cluster

18 lines
395 B
Plaintext
Executable File

#!/sbin/openrc-run
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
name="Bootstrap cluster"
description="Apply node configurations using node.env from /opt/monok8s/config"
command="/opt/monok8s/scripts/bootstrap-cluster.sh"
command_background="no"
output_log="/var/log/monok8s/bootstrap.log"
error_log="/var/log/monok8s/bootstrap.err"
depend() {
need apply-node-config
use net
}