mirror of https://github.com/k3s-io/k3s
install.sh: fix openrc service depend in heredoc
This change sets up the correct dependency on the `network-online` service provided by openrc. See: - https://github.com/OpenRC/openrc/blob/0.39.2/service-script-guide.md#be-wary-of-need-net-dependencies - https://github.com/OpenRC/openrc/blob/0.39.2/init.d/net-online.in#L18pull/815/head
parent
36ca606073
commit
4d5cca6b50
|
@ -555,8 +555,7 @@ create_openrc_service_file() {
|
|||
#!/sbin/openrc-run
|
||||
|
||||
depend() {
|
||||
after net-online
|
||||
need net
|
||||
after network-online
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
|
|
Loading…
Reference in New Issue