mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-05 01:39:24 +00:00
Merge pull request #402 from erikwilson/systemd-start-fix
Fix systemd install not starting
This commit is contained in:
@@ -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 --
|
||||
|
||||
Reference in New Issue
Block a user