mirror of
https://github.com/k3s-io/k3s.git
synced 2026-05-28 04:34:19 -04:00
Merge pull request #402 from erikwilson/systemd-start-fix
Fix systemd install not starting
This commit is contained in:
commit
a66aae51fe
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue