services for bootstrapping
This commit is contained in:
16
alpine/rootfs-extra/etc/init.d/apply-node-config
Executable file
16
alpine/rootfs-extra/etc/init.d/apply-node-config
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
|
||||
|
||||
name="Apply node config"
|
||||
description="Apply node configurations using node.env from /opt/monok8s/config"
|
||||
|
||||
command="/opt/monok8s/scripts/apply-node-config.sh"
|
||||
command_background="no"
|
||||
|
||||
output_log="/var/log/monok8s/apply-node-config.log"
|
||||
error_log="/var/log/monok8s/apply-node-config.err"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
}
|
||||
Reference in New Issue
Block a user