diff --git a/install.sh b/install.sh index b06aee4e8c..2be481e5d2 100755 --- a/install.sh +++ b/install.sh @@ -707,7 +707,7 @@ ExecStart=${BIN_DIR}/rke2 \\ ${CMD_RKE2_EXEC} EOF - echo "HOME=/root" | ${SUDO} tee /etc/systemd/system/rke2.service.env >/dev/null + echo "HOME=/root" | ${SUDO} tee /etc/systemd/system/"${FILE_RKE2_ENV}" >/dev/null } # create_openrc_service_file writes the openrc