Commit 3af26183 authored by Erik Wilson's avatar Erik Wilson

Fix systemd install not starting

parent 41520d73
...@@ -485,6 +485,7 @@ EOF ...@@ -485,6 +485,7 @@ EOF
create_service_file() { create_service_file() {
[ "${HAS_SYSTEMD}" = "true" ] && create_systemd_service_file [ "${HAS_SYSTEMD}" = "true" ] && create_systemd_service_file
[ "${HAS_OPENRC}" = "true" ] && create_openrc_service_file [ "${HAS_OPENRC}" = "true" ] && create_openrc_service_file
return 0
} }
# --- get hashes of the current k3s bin and service files # --- get hashes of the current k3s bin and service files
...@@ -530,6 +531,7 @@ service_enable_and_start() { ...@@ -530,6 +531,7 @@ service_enable_and_start() {
[ "${HAS_SYSTEMD}" = "true" ] && systemd_start [ "${HAS_SYSTEMD}" = "true" ] && systemd_start
[ "${HAS_OPENRC}" = "true" ] && openrc_start [ "${HAS_OPENRC}" = "true" ] && openrc_start
return 0
} }
# --- run the install process -- # --- run the install process --
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment