mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Fix systemd install not starting
This commit is contained in:
parent
41520d7338
commit
3af2618393
@ -485,6 +485,7 @@ EOF
|
||||
create_service_file() {
|
||||
[ "${HAS_SYSTEMD}" = "true" ] && create_systemd_service_file
|
||||
[ "${HAS_OPENRC}" = "true" ] && create_openrc_service_file
|
||||
return 0
|
||||
}
|
||||
|
||||
# --- get hashes of the current k3s bin and service files
|
||||
@ -530,6 +531,7 @@ service_enable_and_start() {
|
||||
|
||||
[ "${HAS_SYSTEMD}" = "true" ] && systemd_start
|
||||
[ "${HAS_OPENRC}" = "true" ] && openrc_start
|
||||
return 0
|
||||
}
|
||||
|
||||
# --- run the install process --
|
||||
|
Loading…
Reference in New Issue
Block a user