Fix systemd install not starting

This commit is contained in:
Erik Wilson 2019-04-26 22:13:38 -07:00
parent 41520d7338
commit 3af2618393

View File

@ -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 --