mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
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#L18
This commit is contained in:
parent
36ca606073
commit
4d5cca6b50
@ -555,8 +555,7 @@ create_openrc_service_file() {
|
|||||||
#!/sbin/openrc-run
|
#!/sbin/openrc-run
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
after net-online
|
after network-online
|
||||||
need net
|
|
||||||
}
|
}
|
||||||
|
|
||||||
start_pre() {
|
start_pre() {
|
||||||
|
Loading…
Reference in New Issue
Block a user